add boms to template product
This commit is contained in:
parent
8ae0930cb8
commit
975b64f44f
@ -6,6 +6,10 @@ msgctxt "field:product.template,pizza:"
|
|||||||
msgid "Pizza"
|
msgid "Pizza"
|
||||||
msgstr "Pizza"
|
msgstr "Pizza"
|
||||||
|
|
||||||
msgctxt "field:product.template,pizza:"
|
msgctxt "field:product.template,pizza_topping:"
|
||||||
msgid "Topping Pizza"
|
msgid "Topping Pizza"
|
||||||
msgstr "Adiciónes"
|
msgstr "Adiciónes"
|
||||||
|
|
||||||
|
msgctxt "field:product.template,boms:"
|
||||||
|
msgid "Boms"
|
||||||
|
msgstr "Lista de Materiales"
|
@ -7,4 +7,5 @@ class Product(metaclass=PoolMeta):
|
|||||||
__name__ = 'product.template'
|
__name__ = 'product.template'
|
||||||
|
|
||||||
pizza = fields.Boolean("Pizza")
|
pizza = fields.Boolean("Pizza")
|
||||||
Pizza_topping = fields.Boolean("Topping Pizza")
|
pizza_topping = fields.Boolean("Topping Pizza")
|
||||||
|
boms = fields.Many2One('production.bom', "Boms")
|
||||||
|
@ -4,6 +4,8 @@ depends:
|
|||||||
ir
|
ir
|
||||||
product
|
product
|
||||||
sale
|
sale
|
||||||
|
sale_supply_production
|
||||||
|
production
|
||||||
xml:
|
xml:
|
||||||
product.xml
|
product.xml
|
||||||
sale.xml
|
sale.xml
|
||||||
|
@ -7,5 +7,8 @@
|
|||||||
<field name="pizza"/>
|
<field name="pizza"/>
|
||||||
<label name="pizza_topping"/>
|
<label name="pizza_topping"/>
|
||||||
<field name="pizza_topping"/>
|
<field name="pizza_topping"/>
|
||||||
|
<newline/>
|
||||||
|
<label name="boms" expand="1"/>
|
||||||
|
<field name="boms" expand="1"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
</data>
|
</data>
|
||||||
|
Loading…
Reference in New Issue
Block a user