diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-08-27 16:06:01 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-08-27 16:06:01 +0200 |
| commit | 838b3f2d827daa1d1fb945de34345c7f9ca4f1b0 (patch) | |
| tree | dc83ea0600959ebeaf50d752d9cfa78c2c51a6f0 /addons/account_check_printing/views | |
| parent | 4833aeb960fdf72bbb55721c3e2f4c83b27d2cbd (diff) | |
| parent | 1385b60004dde5e2b1738161280d979f60cc0418 (diff) | |
[MERGE] forward port branch 11.0 up to 1385b60004d
Diffstat (limited to 'addons/account_check_printing/views')
| -rw-r--r-- | addons/account_check_printing/views/account_payment_views.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/account_check_printing/views/account_payment_views.xml b/addons/account_check_printing/views/account_payment_views.xml index 56e3944b9d7..596449f9474 100644 --- a/addons/account_check_printing/views/account_payment_views.xml +++ b/addons/account_check_printing/views/account_payment_views.xml @@ -8,6 +8,7 @@ <xpath expr="//button[@name='post']" position="before"> <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"/> + <button name="set_check_amount_in_words" attrs="{'invisible': ['|', ('payment_method_code', '!=', 'check_printing'), ('check_amount_in_words', '!=', False)]}" string="Reset Amount in Words" type="object" groups="base.group_no_one"/> </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"/> |
