This commit is contained in:
2026-01-20 21:35:00 +01:00
parent 5e9141f03a
commit 08581f24ea
2 changed files with 3 additions and 1 deletions

View File

@@ -193,6 +193,8 @@ class AutomationDocument(ModelSQL, ModelView, Workflow):
WeightReport = Pool().get('weight.report')
WeightReport.create_from_json(metadata)
# if cls.rule_set.ocr_required:
# cls.run_ocr([doc])
# if cls.rule_set.structure_required and doc.state != "error":

View File

@@ -111,7 +111,7 @@ this repository contains the full copyright notices and license terms. -->
</xpath>
<xpath expr="//page[@id='other']" position="after">
<page string="Weight Report" col="4" id="wr">
<field name="wr" colspan="4" mode="tree" view_ids="purchase_trade.shipment_wr_view_tree"/>
<field name="shipment_wr" colspan="4" mode="tree" view_ids="purchase_trade.shipment_wr_view_tree"/>
</page>
</xpath>
</data>