Register all buttons are registered in ir.model.button
issue6389 review36621002
This commit is contained in:
1 parent
dd88bc8530
commit
0f4d8d1dc4
2 files changed
+19
-12
No files matched your search
@@ -207,6 +207,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
|
||||
<record model="ir.model.button" id="production_cancel_button">
|
||||
<field name="name">cancel</field>
|
||||
<field name="string">Cancel</field>
|
||||
<field name="model"
|
||||
search="[('model', '=', 'production')]"/>
|
||||
</record>
|
||||
@@ -218,6 +219,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
|
||||
<record model="ir.model.button" id="production_draft_button">
|
||||
<field name="name">draft</field>
|
||||
<field name="string">Draft</field>
|
||||
<field name="model"
|
||||
search="[('model', '=', 'production')]"/>
|
||||
</record>
|
||||
@@ -229,6 +231,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
|
||||
<record model="ir.model.button" id="production_wait_button">
|
||||
<field name="name">wait</field>
|
||||
<field name="string">Wait</field>
|
||||
<field name="model"
|
||||
search="[('model', '=', 'production')]"/>
|
||||
</record>
|
||||
@@ -240,6 +243,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
|
||||
<record model="ir.model.button" id="production_run_button">
|
||||
<field name="name">run</field>
|
||||
<field name="string">Run</field>
|
||||
<field name="model"
|
||||
search="[('model', '=', 'production')]"/>
|
||||
</record>
|
||||
@@ -251,6 +255,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
|
||||
<record model="ir.model.button" id="production_done_button">
|
||||
<field name="name">done</field>
|
||||
<field name="string">Done</field>
|
||||
<field name="model"
|
||||
search="[('model', '=', 'production')]"/>
|
||||
</record>
|
||||
@@ -284,6 +289,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
|
||||
<record model="ir.model.button" id="production_assign_wizard_button">
|
||||
<field name="name">assign_wizard</field>
|
||||
<field name="string">Assign</field>
|
||||
<field name="model" search="[('model', '=', 'production')]"/>
|
||||
</record>
|
||||
<record model="ir.model.button-res.group"
|
||||
@@ -291,6 +297,12 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="button" ref="production_assign_wizard_button"/>
|
||||
<field name="group" ref="stock.group_stock"/>
|
||||
</record>
|
||||
<record model="ir.model.button" id="production_reset_bom_button">
|
||||
<field name="name">reset_bom</field>
|
||||
<field name="string">Reset to BOM</field>
|
||||
<field name="model"
|
||||
search="[('model', '=', 'production')]"/>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="assign_failed_view_form">
|
||||
<field name="model">production.assign.failed</field>
|
||||
|
||||
@@ -43,18 +43,13 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<label name="state"/>
|
||||
<field name="state"/>
|
||||
<group col="-1" colspan="2" id="buttons">
|
||||
<button name="cancel" string="Cancel"
|
||||
icon="tryton-cancel"/>
|
||||
<button name="draft" string="Draft"/>
|
||||
<button name="reset_bom" string="Reset to BOM"
|
||||
icon="tryton-clear"/>
|
||||
<button name="wait" string="Wait"/>
|
||||
<button name="assign_wizard" string="Assign"
|
||||
icon="tryton-go-next"/>
|
||||
<button name="run" string="Run"
|
||||
icon="tryton-go-next"/>
|
||||
<button name="done" string="Done"
|
||||
icon="tryton-go-next"/>
|
||||
<button name="cancel" icon="tryton-cancel"/>
|
||||
<button name="draft"/>
|
||||
<button name="reset_bom" icon="tryton-clear"/>
|
||||
<button name="wait"/>
|
||||
<button name="assign_wizard" icon="tryton-go-next"/>
|
||||
<button name="run" icon="tryton-go-next"/>
|
||||
<button name="done" icon="tryton-go-next"/>
|
||||
</group>
|
||||
</group>
|
||||
</form>
|
||||
Reference in new issue
Block a user