summaryrefslogtreecommitdiff
path: root/addons/l10n_ch
diff options
context:
space:
mode:
Diffstat (limited to 'addons/l10n_ch')
-rw-r--r--addons/l10n_ch/views/account_invoice_view.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/l10n_ch/views/account_invoice_view.xml b/addons/l10n_ch/views/account_invoice_view.xml
index 428516b8932..a4f91313a13 100644
--- a/addons/l10n_ch/views/account_invoice_view.xml
+++ b/addons/l10n_ch/views/account_invoice_view.xml
@@ -46,7 +46,7 @@
type="object"
attrs="{'invisible':['|', ('state', '!=', 'posted'),
'|', ('l10n_ch_isr_sent', '=', True),
- '|', ('type', 'not in', ('out_invoice', 'out_refund')),
+ '|', ('move_type', 'not in', ('out_invoice', 'out_refund')),
('l10n_ch_currency_name', 'not in', ['EUR', 'CHF'])]}"
groups="base.group_user"
class="oe_highlight"
@@ -57,7 +57,7 @@
type="object"
attrs="{'invisible':['|', ('state', '!=', 'posted'),
'|', ('l10n_ch_isr_sent', '=', False),
- '|', ('type', 'not in', ('out_invoice', 'out_refund')),
+ '|', ('move_type', 'not in', ('out_invoice', 'out_refund')),
('l10n_ch_currency_name', 'not in', ['EUR', 'CHF'])]}"
groups="base.group_user"
/>