This commit is contained in:
2026-02-03 12:19:44 +01:00
parent 0a41765551
commit f4a53f2705
2 changed files with 53 additions and 22 deletions

View File

@@ -308,9 +308,9 @@ class AutomationCron(ModelSQL, ModelView):
# Sauvegarder ce shipment uniquement
ShipmentIn.save([shipment])
shipment._create_lots_from_fintrade()
inv_date,inv_nb = shipment._create_lots_from_fintrade()
shipment.controller = shipment.get_controller()
shipment.instructions = shipment.get_instructions_html()
shipment.instructions = shipment.get_instructions_html(inv_date,inv_nb)
ShipmentIn.save([shipment])
trans_shipment.commit()
successful_shipments += 1