diff options
| author | Arthur Maniet <arthurmaniet@me.com> | 2015-07-01 13:55:12 +0200 |
|---|---|---|
| committer | Arthur Maniet <arthurmaniet@me.com> | 2015-08-10 13:48:56 +0200 |
| commit | 941fa2f48e38b60fdf8fb9bd6741c702dfc8370d (patch) | |
| tree | aac5dd18e1fec6d064e7ab98d747f2348880e195 /addons/account_check_printing/views | |
| parent | 753cc6d2462453dee8f2e8313de037fcf344418a (diff) | |
[ADD] account check printing: 'Unmark Sent'
Possibility to go back from state 'sent' to 'posted'
Diffstat (limited to 'addons/account_check_printing/views')
| -rw-r--r-- | addons/account_check_printing/views/account_payment_view.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/account_check_printing/views/account_payment_view.xml b/addons/account_check_printing/views/account_payment_view.xml index 449cbd0ff9c..33fd221cda5 100644 --- a/addons/account_check_printing/views/account_payment_view.xml +++ b/addons/account_check_printing/views/account_payment_view.xml @@ -7,7 +7,8 @@ <field name="inherit_id" ref="account.view_account_payment_form" /> <field name="arch" type="xml"> <xpath expr="//button[@name='post']" position="before"> - <button name="print_checks" class="oe_highlight" attrs="{'invisible': ['|', ('payment_method_code', '!=', 'check_printing'), ('state', 'not in', ('posted', 'sent'))]}" string="Print Check" type="object"/> + <button name="print_checks" class="oe_highlight" attrs="{'invisible': ['|', ('payment_method_code', '!=', 'check_printing'), ('state', '!=', 'posted')]}" string="Print Check" type="object"/> + <button name="unmark_sent" attrs="{'invisible': ['|', ('payment_method_code', '!=', 'check_printing'), ('state', '!=', 'sent')]}" string="Unmark Sent" type="object"/> </xpath> <xpath expr="//div[@name='amount_div']" position="after"> <field name="check_amount_in_words" attrs="{'invisible': [('payment_method_code', '!=', 'check_printing')], 'readonly': [('state', '!=', 'draft')]}" groups="base.group_no_one"/> |
