From fffbb9708ad00560b7560356f1f31021178f8122 Mon Sep 17 00:00:00 2001 From: laurentbarontini Date: Tue, 20 Jan 2026 22:14:35 +0100 Subject: [PATCH] 20.01.26 --- modules/automation/automation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/automation/automation.py b/modules/automation/automation.py index ebbe5a7..936f57b 100644 --- a/modules/automation/automation.py +++ b/modules/automation/automation.py @@ -201,9 +201,9 @@ class AutomationDocument(ModelSQL, ModelView, Workflow): swr.shipment_in = sh[0] swr.wr = wr ShipmentWR.save([swr]) - doc.notes = (doc.notes or "") + f"Shipment found: {sh.number}\n" + doc.notes = (doc.notes or "") + f"Shipment found: {sh[0].number}\n" - # if cls.rule_set.ocr_required: + # if cls.rule_set.ocr_required:[] # cls.run_ocr([doc]) # if cls.rule_set.structure_required and doc.state != "error": # cls.run_structure([doc])