Delete string at view level and add to ir.model.button.
This commit is contained in:
parent
78146822a5
commit
3fbf6d0c37
1
plan.xml
1
plan.xml
|
@ -84,6 +84,7 @@
|
|||
|
||||
<record model="ir.model.button" id="plan_compute_button">
|
||||
<field name="name">compute</field>
|
||||
<field name="string">Initialize Cost Plan</field>
|
||||
<field name="model" search="[('model', '=', 'product.cost.plan')]"/>
|
||||
</record>
|
||||
<record model="ir.model.button-res.group" id="plan_compute_button_group_cost">
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<field name="uom"/>
|
||||
<label name="bom"/>
|
||||
<field name="bom"/>
|
||||
<button name="compute" string="Initialize Cost Plan" colspan="2"/>
|
||||
<button name="compute" colspan="2"/>
|
||||
<notebook colspan="6">
|
||||
<page string="Products" id="products">
|
||||
<field name="products_tree" colspan="4"/>
|
||||
|
|
Loading…
Reference in New Issue