diff --git a/pos_backend_partner/__manifest__.py b/pos_backend_partner/__manifest__.py index 20d6d18b..7e4add74 100644 --- a/pos_backend_partner/__manifest__.py +++ b/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)", diff --git a/pos_backend_partner/static/src/js/pos_partner.js b/pos_backend_partner/static/src/js/pos_partner.js index ee4ba772..3e81559c 100644 --- a/pos_backend_partner/static/src/js/pos_partner.js +++ b/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);