Browse Source

[FIX] incorrect way to get partner_id

pull/42/head
Sylvain LE GAL 8 years ago
committed by GitHub
parent
commit
a53290c845
  1. 4
      pos_order_load/models/pos_order.py

4
pos_order_load/models/pos_order.py

@ -77,8 +77,8 @@ class PosOrder(models.Model):
return {
'id': order.id,
'name': order.pos_reference,
'partner_id': self.partner_id.id,
'orderlines': orderlines
'partner_id': order.partner_id.id,
'orderlines': orderlines,
}
@api.model

Loading…
Cancel
Save