Register all buttons are registered in ir.model.button
issue6389 review36621002
This commit is contained in:
1 parent
46ebd6497b
commit
836342bf9c
2 files changed
+22
-7
No files matched your search
@@ -222,6 +222,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
|
||||
<record model="ir.model.button" id="statement_draft_button">
|
||||
<field name="name">draft</field>
|
||||
<field name="string">Draft</field>
|
||||
<field name="model"
|
||||
search="[('model', '=', 'account.statement')]"/>
|
||||
</record>
|
||||
@@ -233,9 +234,11 @@ this repository contains the full copyright notices and license terms. -->
|
||||
|
||||
<record model="ir.model.button" id="statement_validate_button">
|
||||
<field name="name">validate_statement</field>
|
||||
<field name="string">Validate</field>
|
||||
<field name="model"
|
||||
search="[('model', '=', 'account.statement')]"/>
|
||||
</record>
|
||||
|
||||
<record model="ir.model.button-res.group"
|
||||
id="statement_validate_button_group_account">
|
||||
<field name="button" ref="statement_validate_button"/>
|
||||
@@ -249,6 +252,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
|
||||
<record model="ir.model.button" id="statement_post_button">
|
||||
<field name="name">post</field>
|
||||
<field name="string">Post</field>
|
||||
<field name="model"
|
||||
search="[('model', '=', 'account.statement')]"/>
|
||||
</record>
|
||||
@@ -260,6 +264,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
|
||||
<record model="ir.model.button" id="statement_cancel_button">
|
||||
<field name="name">cancel</field>
|
||||
<field name="string">Cancel</field>
|
||||
<field name="model"
|
||||
search="[('model', '=', 'account.statement')]"/>
|
||||
</record>
|
||||
@@ -269,6 +274,18 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="group" ref="account.group_account_admin"/>
|
||||
</record>
|
||||
|
||||
<record model="ir.model.button" id="statement_reconcile_button">
|
||||
<field name="name">reconcile</field>
|
||||
<field name="string">Reconcile</field>
|
||||
<field name="model"
|
||||
search="[('model', '=', 'account.statement')]"/>
|
||||
</record>
|
||||
<record model="ir.model.button-res.group"
|
||||
id="statement_reconcile_button_group_account">
|
||||
<field name="button" ref="statement_reconcile_button"/>
|
||||
<field name="group" ref="account.group_account"/>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="line_group_view_form">
|
||||
<field name="model">account.statement.line.group</field>
|
||||
<field name="type">form</field>
|
||||
|
||||
@@ -28,13 +28,11 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<label name="state"/>
|
||||
<field name="state"/>
|
||||
<group col="-1" colspan="2" id="buttons">
|
||||
<button string="Cancel" name="cancel" icon="tryton-cancel"/>
|
||||
<button string="Draft" name="draft" icon="tryton-clear"/>
|
||||
<button string="Validate" name="validate_statement"
|
||||
icon="tryton-go-next"/>
|
||||
<button string="Reconcile" name="reconcile"
|
||||
icon="tryton-find-replace"/>
|
||||
<button string="Post" name="post" icon="tryton-ok"/>
|
||||
<button name="cancel" icon="tryton-cancel"/>
|
||||
<button name="draft" icon="tryton-clear"/>
|
||||
<button name="validate_statement" icon="tryton-go-next"/>
|
||||
<button name="reconcile" icon="tryton-find-replace"/>
|
||||
<button name="post" icon="tryton-ok"/>
|
||||
</group>
|
||||
</group>
|
||||
</page>
|
||||
|
||||
Reference in new issue
Block a user