Rename Uom to Unit for bill of material
This commit is contained in:
parent
c9d9576c91
commit
cbab53d2d7
|
@ -142,7 +142,7 @@ Create Bill of Material::
|
||||||
>>> input2 = bom.inputs.new()
|
>>> input2 = bom.inputs.new()
|
||||||
>>> input2.product = component2
|
>>> input2.product = component2
|
||||||
>>> input2.quantity = 150
|
>>> input2.quantity = 150
|
||||||
>>> input2.uom = centimeter
|
>>> input2.unit = centimeter
|
||||||
>>> output = BOMOutput()
|
>>> output = BOMOutput()
|
||||||
>>> output = bom.outputs.new()
|
>>> output = bom.outputs.new()
|
||||||
>>> output.product = product
|
>>> output.product = product
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<field name="operations" colspan="4"/>
|
<field name="operations" colspan="4"/>
|
||||||
</page>
|
</page>
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="/form/field[@name='uom']" position="after">
|
<xpath expr="/form/field[@name='unit']" position="after">
|
||||||
<label name="route"/>
|
<label name="route"/>
|
||||||
<field name="route"/>
|
<field name="route"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
|
Loading…
Reference in New Issue