Browse Source

[FIX] partner_id id bug in set_client

pull/287/head
Mourad 6 years ago
parent
commit
311fdbeba5
  1. 2
      pos_backend_partner/__manifest__.py
  2. 2
      pos_backend_partner/static/src/js/pos_partner.js

2
pos_backend_partner/__manifest__.py

@ -6,7 +6,7 @@
{
"name": "POS Backend Customer",
"summary": "Choose point of sale customers in backend",
"version": "10.0.1.0.0",
"version": "10.0.1.0.1",
"category": "Point of sale",
"website": "http://www.akretion.com",
'author': "Akretion,Odoo Community Association (OCA)",

2
pos_backend_partner/static/src/js/pos_partner.js

@ -12,7 +12,7 @@ odoo.define('pos_backend_partner.partner_pos', function (require) {
function set_client(message)  {
var data = message.data;
var partner_info = {
'id': parseInt(data.id, 10),
'id': parseInt(data.partner_id, 10),
'name': data.name
};
pos_instance.get('selectedOrder').set_client(partner_info);

Loading…
Cancel
Save