Add fields kitchen and bar in form product
This commit is contained in:
parent
e18d857ed6
commit
4e0c39fd78
@ -17,3 +17,7 @@ msgstr "Lista de Materiales"
|
||||
msgctxt "field:product.template,tip:"
|
||||
msgid "Tip"
|
||||
msgstr "Propina"
|
||||
|
||||
msgctxt "field:product.template,kitchen:"
|
||||
msgid "Kitchen"
|
||||
msgstr "Cocina"
|
||||
|
@ -10,5 +10,7 @@ class Product(metaclass=PoolMeta):
|
||||
pizza = fields.Boolean("Pizza")
|
||||
pizza_topping = fields.Boolean("Topping Pizza")
|
||||
tip = fields.Boolean("Tip")
|
||||
kitchen = fields.Boolean("Kitchen")
|
||||
bar = fields.Boolean("Bar")
|
||||
boms = fields.Many2One('production.bom', "Boms",
|
||||
states={'required': Eval('producible', True)})
|
||||
|
@ -9,6 +9,10 @@
|
||||
<field name="pizza_topping"/>
|
||||
<label name="tip"/>
|
||||
<field name="tip"/>
|
||||
<label name="kitchen"/>
|
||||
<field name="kitchen"/>
|
||||
<label name="bar"/>
|
||||
<field name="bar"/>
|
||||
<newline/>
|
||||
<label name="boms"/>
|
||||
<field name="boms" xexpand="1"/>
|
||||
|
Loading…
Reference in New Issue
Block a user