Register all buttons are registered in ir.model.button

issue6389
This commit is contained in:
Raimon Esteve
2018-08-28 08:22:20 +02:00
parent 6a60befe94
commit 851e672371
2 changed files with 12 additions and 14 deletions

View File

@@ -42,5 +42,12 @@ copyright notices and license terms. -->
<field name="model">sale.sale,-1</field>
<field name="action" ref="act_sale_reconcile"/>
</record>
<!-- buttons -->
<record model="ir.model.button" id="sale_payment_wizard_button">
<field name="name">wizard_sale_payment</field>
<field name="string">Pay</field>
<field name="model" search="[('model', '=', 'sale.sale')]"/>
</record>
</data>
</tryton>