Author: |
IT-Projects LLC, Dinar Gabbasov |
License: |
Other OSI approved licence |
Branch: |
11.0 |
Repository: |
dynaz/pos-addons |
Dependencies: |
base_geolocalize,
point_of_sale,
pos_multi_session,
pos_multi_session_restaurant,
pos_order_note,
pos_restaurant,
pos_wechat,
web,
and
wechat_miniprogram |
Languages: |
CSS (108, 6.4%),
JavaScript (463, 27.6%),
Python (619, 36.9%),
XML (406, 24.2%),
and
reStructuredText (82, 4.9%) |
Other branches: |
11.0-pos_cashbox |
Other repositories: |
AITIC/pos-addons,
Alitec-sg/pos-addons,
AndryEddy/pos-addons,
BrayhanJC/pos-addons,
ERPLibre/pos-addons,
Enigma228322/pos-addons,
KolushovAlexandr/pos-addons,
KonosCL/pos-addons,
TheCloneMaster/pos-addons,
akekaphop/pos-addons,
antherkiv/pos-addons,
diegogd/pos-addons,
elsemieni/pos-addons,
em230418/pos-addons,
germanponce/pos-addons,
gokhancetiner/pos-addons,
itpp-labs/pos-addons,
keadanis/pos-addons,
mgielissen/pos-addons,
robelale/pos-addons,
samsagaz/pos-addons,
trojikman/pos-addons,
and
yelizariev/pos-addons |
<a class="reference external image-reference" href="https://itpp.dev"><img alt="Tested and maintained by IT Projects Labs" src="https://itpp.dev/images/infinity-readme.png" /></a>
<a class="reference external image-reference" href="https://opensource.org/licenses/MIT"><img alt="License: MIT" src="https://img.shields.io/badge/license-MIT-blue.svg">
</a>
<a name="pos-wechat-mini-program"></a>
<h2>POS: WeChat Mini-program</h2>
<p>Integrate POS with WeChat mini-program</p>
<a name="verification-mobile-number"></a>
<h3>Verification mobile number</h3>
<p>Use the mobile phone number specified in your WeChat account.:</p>
<pre>
<code>authByWeChat: function (e) {
var detail = e.detail;
var params = {
model: 'res.users',
method: 'wechat_mobile_number_verification',
args: [detail],
context: {},
kwargs: {}
};
odooRpc(params).then(function (res) {
wx.setStorageSync('telephoneNumberVerified', res.result);
})
}</code>
</pre>
<a name="payments"></a>
<h3>Payments</h3>
<a name="pay-via-wechat-mini-program"></a>
<h4>Pay via WeChat mini-program</h4>
<p>TODO</p>
<a name="pay-via-pos"></a>
<h4>Pay via POS</h4>
<p>TODO</p>
<a name="roadmap"></a>
<h3>Roadmap</h3>
<ul class="simple">
<li>TODO: need to do something with warnings like this: <code>pos.miniprogram.order.line.create() includes unknown fields: category, description</code></li>
<li>TODO: uncomment test_create_without_pay_from_miniprogram_ui and make it work. It fails for some reason.</li>
</ul>
<a name="questions"></a>
<h3>Questions?</h3>
<p>To get an assistance on this module contact us by email :arrow_right: <a class="reference external" href="mailto:help@itpp.dev">help@itpp.dev</a></p>
<a name="contributors"></a>
<h3>Contributors</h3>
<ul class="simple">
<li><a class="reference external" href="https://it-projects.info/team/GabbasovDinar">Dinar Gabbasov</a></li>
</ul>
<hr class="docutils" />
<p>Odoo Apps Store: <a class="reference external" href="https://apps.odoo.com/apps/modules/11.0/pos_wechat_miniprogram/">https://apps.odoo.com/apps/modules/11.0/pos_wechat_miniprogram/</a></p>
<p>Tested on <a class="reference external" href="https://github.com/odoo/odoo/commit/ee2b9fae3519c2494f34dacf15d0a3b5bd8fbd06">Odoo 11.0</a></p>