Browse Source
Merge pull request #287 from akretion/10.0-fix_partner_id_bug
[FIX] partner_id id bug in set_client method
pull/291/head
Pedro M. Baeza
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
pos_backend_partner/__manifest__.py
-
pos_backend_partner/static/src/js/pos_partner.js
|
|
@ -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)", |
|
|
|
|
|
@ -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); |
|
|
|