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"
|
||||
msgstr "Pizza"
|
||||
|
||||
msgctxt "field:product.template,pizza:"
|
||||
msgctxt "field:product.template,pizza_topping:"
|
||||
msgid "Topping Pizza"
|
||||
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'
|
||||
|
||||
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
|
||||
product
|
||||
sale
|
||||
sale_supply_production
|
||||
production
|
||||
xml:
|
||||
product.xml
|
||||
sale.xml
|
||||
|
@ -7,5 +7,8 @@
|
||||
<field name="pizza"/>
|
||||
<label name="pizza_topping"/>
|
||||
<field name="pizza_topping"/>
|
||||
<newline/>
|
||||
<label name="boms" expand="1"/>
|
||||
<field name="boms" expand="1"/>
|
||||
</xpath>
|
||||
</data>
|
||||
|
Loading…
Reference in New Issue
Block a user