Author: |
Oejia |
License: |
GPL-3 |
Branch: |
master |
Repository: |
wanghaitao-git/oejia_weshop |
Dependencies: |
base,
mail,
product,
and
sale |
Languages: |
HTML (28, 0.7%),
Markdown (40, 1.0%),
Python (3231, 78.3%),
and
XML (829, 20.1%) |
Other branches: |
12.0 |
Other repositories: |
020cui/oejia_weshop,
123wj2003/oejia_weshop,
CrazyGuo/oejia_weshop,
DITIntl/oejia_weshop,
Haxine/oejia_weshop,
Jackence/oejia_weshop,
JangoCity/oejia_weshop,
JobsLj/oejia_weshop,
JohnLYH/oejia_weshop,
JoneXiong/oejia_weshop,
JulianYangJingJun/oejia_weshop,
Leuan12/oejia_weshop,
Liangyongjie/oejia_weshop,
MALANGBEIJING/oejia_weshop,
MicroEngine/oejia_weshop,
NBGBZJ/oejia_weshop,
ScottAI/oejia_weshop,
Wesley-yang/oejia_weshop,
YYuanH/oejia_weshop,
andyy1976/oejia_weshop,
antcto/oejia_weshop,
aospub/oejia_weshop,
ardontju/oejia_weshop,
asd1355215911/oejia_weshop,
bkww/oejia_weshop,
bopo/oejia_weshop,
ccysfn/oejia_weshop,
chengdh/oejia_weshop,
chenzhiming/oejia_weshop,
cialuo/oejia_weshop,
claro5/oejia_weshop,
cnbillow/oejia_weshop,
codeRemark/oejia_weshop,
daotismart/oejia_weshop,
devopsmi/oejia_weshop,
diamond2nv/oejia_weshop,
dingguijin/oejia_weshop,
dut3062796s/oejia_weshop,
emaiqi/oejia_weshop,
emituofokoog/oejia_weshop,
feitianyiren/oejia_weshop,
fengyunsen/oejia_weshop,
fysoft2006/oejia_weshop,
gastonfeng/oejia_weshop,
george-taotaome/oejia_weshop,
gewenfei/oejia_weshop,
gexiangying/oejia_weshop,
gimebreak/oejia_weshop,
glovebx/oejia_weshop,
godrush/oejia_weshop,
googleblue/oejia_weshop,
goolgoo/oejia_weshop,
gswf2008/oejia_weshop,
guwenfeng/oejia_weshop,
haijunjiang/oejia_weshop,
haner/oejia_weshop,
hefeilaowang/oejia_weshop,
henry995821881/oejia_weshop,
hp-art/oejia_weshop,
hq8399/oejia_weshop,
hslb1985/oejia_weshop,
husw/oejia_weshop,
id4lin/oejia_weshop,
initseven/oejia_weshop,
jackxusho/oejia_weshop,
jangocheng/oejia_weshop,
jason156/oejia_weshop,
jingtian123/oejia_weshop,
jlzhou/oejia_weshop,
jsrhtc/oejia_weshop,
kevin070982/oejia_weshop,
kevin3274/oejia_weshop,
khanchan/oejia_weshop,
king2017321/oejia_weshop,
knowater521/oejia_weshop,
lester-lees/oejia_weshop,
lhslll/oejia_weshop,
lianzhanshu/oejia_weshop,
liguopeng80/oejia_weshop,
lineCode/oejia_weshop,
litemall/oejia_weshop,
liu33851861/oejia_weshop,
lonelyleaves/oejia_weshop,
lubw/oejia_weshop,
lukehuang/oejia_weshop,
lweiming/oejia_weshop,
lwliang/oejia_weshop,
marvin981973/oejia_weshop,
mayang1178/oejia_weshop,
molandtoxx/oejia_weshop,
netdebug/oejia_weshop,
nij6173/oejia_weshop,
ningj123/oejia_weshop,
niulinlnc/oejia_weshop,
oduse/oejia_weshop,
pyrun13/oejia_weshop,
pythoner-3k/oejia_weshop,
qdforbetter/oejia_weshop,
qiujin1001/oejia_weshop,
qqli007/oejia_weshop,
ranning/oejia_weshop,
redblow/oejia_weshop,
resettingmq/oejia_weshop,
ruo2012/oejia_weshop,
sandianyiyuan/oejia_weshop,
sasakuma/oejia_weshop,
siweilai/oejia_weshop,
suningwz/oejia_weshop,
vanthaiunghoa/oejia_weshop,
varcharli/oejia_weshop,
wahello/oejia_weshop,
wasalen/oejia_weshop,
weizai118/oejia_weshop,
weizx208/oejia_weshop,
westlyou/oejia_weshop,
wt200081/oejia_weshop,
wuhuizhong/oejia_weshop,
xhair/oejia_weshop,
xiaonibakeji/oejia_weshop,
xulei8/oejia_weshop,
yangipython/oejia_weshop,
yankaics/oejia_weshop,
yf956613/oejia_weshop,
yojeajie/oejia_weshop,
yunkuaiji/oejia_weshop,
yunsite/oejia_weshop,
zhaohuaw/oejia_weshop,
zky001/oejia_weshop,
and
zlcoming/oejia_weshop |
<h2>oejia_weshop</h2>
<p>Odoo 微信小程序商城模块</p>
<p>oejia_weshop 是 Odoo 对接微信小程序实现的商城应用。</p>
<p>如果您使用odoo的销售模块,而想要在微信小程序上实现自己的商城卖odoo里的商品,装上 oejia_weshop 模块即可。</p>
<p>如果您想要搭建一套进销存(ERP)系统并实现对接微信商城的管理,用 Odoo + oejia_weshop 模块,是个快捷方法。</p>
<h2>特性</h2>
<ul>
<li>和 odoo 销售模块无缝集成,产品和订单统一管理</li>
<li>微信用户集成到 odoo 统一的客户(partner)管理</li>
<li>支持 Odoo 10.0、11.0、12.0</li>
</ul>
<h2>使用</h2>
<ol>
<li>下载源码 (odoo10、11为master分支,odoo12为12.0分支)</li>
<li>将整个oejia_weshop目录(名称不能变)放到你的 addons 目录下</li>
<li>安装依赖的python库:xmltodict、pycrypto、itsdangerous;安装模块,可以看到产生了顶部“小程序”主菜单</li>
<li>进入【设置】-【对接设置】页填写你的微信小程序相关对接信息</li>
<li>小程序客户端: 使用的开源项目 <a href="https://github.com/EastWorld/wechat-app-mall">wechat-app-mall</a>, 下载后修改接口api调用路径为您的odoo url即可,可参考<a href="https://github.com/JoneXiong/wechat-app-mall/pull/4/files">这里</a>修改,也可使用我们<a href="https://github.com/JoneXiong/wechat-app-mall">fork的版本</a></li>
</ol>
<ul>
<li>只需将 wxapi/main.js 中的 API<em>BASE</em>URL 改为https://您的odoo地址 </li>
<li>将config.js中的subDomain改为您设置的小程序接口前缀 (“小程序接口前缀”为您在odoo后台对接配置中设置的值),appid 改为您的小程序的appid</li>
</ul>
<p>参考资料: <a href="http://oejia.net/blog/2018/12/21/oejia_weshop_qa.html">常见问题处理</a></p>
<h2>试用</h2>
<p>小程序客户端</p>
<p><img src="https://raw.githubusercontent.com/JoneXiong/oejia_weshop/master/static/description/odoo_wxapp.jpg" alt="Odoo小程序商城"></p>
<p>Odoo后台</p>
<p><a href="https://sale.calluu.cn/">https://sale.calluu.cn/</a></p>
<h2>效果</h2>
<p><img src="http://oejia.net/files/201809/13165725703.jpeg" alt="用户管理"></p>
<p><img src="http://oejia.net/files/201809/13172849146.jpeg" alt="产品管理"></p>
<p><img src="http://oejia.net/files/201809/13165316092.jpeg" alt="对接配置"></p>
<p><img src="http://oejia.net/files/201809/13172406513.jpeg" alt="小程序客户端"></p>
<p><img src="http://oejia.net/files/201809/13172524213.jpeg" alt="我的订单"></p>
<h2>商业版及扩展</h2>
<p>扩展功能模块 <a href="https://www.calluu.cn/shop/product/odoo-12">oejia<em>weshop</em>ent</a></p>
<p>包含微信商城的全功能进销存系统套件 <a href="https://sale.calluu.cn/">https://sale.calluu.cn/</a></p>
<p>小程序客服集成 <a href="http://oejia.net/blog/2018/12/21/odoo_kf.html">http://oejia.net/blog/2018/12/21/odoo_kf.html</a></p>
<p>小程序分销模块<a href="https://www.calluu.cn/shop/product/odoo-23">weshop_commission</a></p>
<p>Odoo H5商城模块<a href="https://www.calluu.cn/shop/product/odoo-h5-24">weshop_h5</a></p>
<h2>交流</h2>
<p>技术分享
<a href="http://www.oejia.net/">http://www.oejia.net/</a></p>
<p>Odoo-OpenERP扩展开发2群:796367461</p>
<p>Odoo-OpenERP扩展开发1群:260160505 (已满)</p>