Delete string at view level and add to ir.model.button.

This commit is contained in:
Juanjo Garcia 2019-10-02 16:50:31 +02:00
parent 78146822a5
commit 3fbf6d0c37
2 changed files with 2 additions and 1 deletions

View File

@ -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">

View File

@ -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"/>