From cbab53d2d75babd0f256292dcee3a28b71f0cc70 Mon Sep 17 00:00:00 2001 From: Albert Cervera i Areny Date: Wed, 13 Sep 2023 14:40:24 +0200 Subject: [PATCH] Rename Uom to Unit for bill of material --- tests/scenario_production_operation.rst | 2 +- view/production_form.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/scenario_production_operation.rst b/tests/scenario_production_operation.rst index 62ee8d4..ed36f13 100644 --- a/tests/scenario_production_operation.rst +++ b/tests/scenario_production_operation.rst @@ -142,7 +142,7 @@ Create Bill of Material:: >>> input2 = bom.inputs.new() >>> input2.product = component2 >>> input2.quantity = 150 - >>> input2.uom = centimeter + >>> input2.unit = centimeter >>> output = BOMOutput() >>> output = bom.outputs.new() >>> output.product = product diff --git a/view/production_form.xml b/view/production_form.xml index ab4db23..907655f 100644 --- a/view/production_form.xml +++ b/view/production_form.xml @@ -7,7 +7,7 @@ - +