[FIX] point_of_sale: pos.order#create loose the company_id since the new api migration (opw: 746677)

https://github.com/odoo/odoo/commit/32b5515a8ff6047db489e569935b4416f946bc26#diff-5eeb7d6a1a488dff039e5cc3300730e1L513
This commit is contained in:
Fabien Meghazi
2017-06-28 16:33:24 +02:00
parent 459ea4ab4d
commit af6328c2a2
+1
View File
@@ -159,6 +159,7 @@ class PosOrder(models.Model):
'name': self.name,
'origin': self.name,
'account_id': self.partner_id.property_account_receivable_id.id,
'company_id': self.company_id.id,
'journal_id': self.sale_journal.id,
'type': 'out_invoice',
'reference': self.name,