main #7
@@ -310,6 +310,8 @@ class AutomationDocument(ModelSQL, ModelView, Workflow):
|
|||||||
ct.matched = True
|
ct.matched = True
|
||||||
ct.shipment_in = sh
|
ct.shipment_in = sh
|
||||||
ct.lot = sale_line.lots[0]
|
ct.lot = sale_line.lots[0]
|
||||||
|
ct.product = sale_line.product
|
||||||
|
ct.unit = sale_line.unit
|
||||||
d.party = Party.getPartyByName('FAIRCOT')
|
d.party = Party.getPartyByName('FAIRCOT')
|
||||||
if sale_line.enable_linked_currency:
|
if sale_line.enable_linked_currency:
|
||||||
d.currency_unit = str(sale_line.linked_currency.id) + '_' + str(sale_line.linked_unit.id)
|
d.currency_unit = str(sale_line.linked_currency.id) + '_' + str(sale_line.linked_unit.id)
|
||||||
|
|||||||
Reference in New Issue
Block a user