Fix typo to use id of party in write
(transplanted from 89427c1f51158e2dbbe32af542c1a2b9dffe3a86)
This commit is contained in:
1 parent
26c12db250
commit
c2d057dd2b
1 file changed
+1
-1
+1
-1
@@ -37,7 +37,7 @@ class Purchase(ModelSQL, ModelView):
|
||||
invoice_line_obj.write(line_ids, {
|
||||
'invoice': False,
|
||||
'invoice_type': invoice.type,
|
||||
'party': invoice.party,
|
||||
'party': invoice.party.id,
|
||||
'currency': invoice.currency.id,
|
||||
'company': invoice.company.id,
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user