Register all buttons are registered in ir.model.button

issue6389
review36621002
This commit is contained in:
Sergi Almacellas Abellana committed 2018-03-01 12:44:17 +01:00
1 parent fb9cb785e8
commit bb84d6ad62
2 files changed
+7 -1

No files matched your search

+6
View File
@@ -25,5 +25,11 @@ this repository contains the full copyright notices and license terms. -->
<field name="type">form</field>
<field name="name">split_start_form</field>
</record>
<record model="ir.model.button" id="production_split_wizard_button">
<field name="name">split_wizard</field>
<field name="string">Split</field>
<field name="model"
search="[('model', '=', 'production')]"/>
</record>
</data>
</tryton>
+1 -1
View File
@@ -5,6 +5,6 @@ this repository contains the full copyright notices and license terms. -->
<xpath
expr="/form/group[@id='state_buttons']/group[@id='buttons']/button[@name='draft']"
position="after">
<button name="split_wizard" string="Split" icon="tryton-production-split"/>
<button name="split_wizard" icon="tryton-production-split"/>
</xpath>
</data>