summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroco-odoo <oco@odoo.com>2020-08-28 10:01:14 +0000
committeroco-odoo <oco@odoo.com>2020-08-28 11:23:14 +0000
commit1c862bb558cbdf67a87987f9a539e3f3248c588f (patch)
tree12e4556bfad00f49fb162685e27290189ea67690
parentb9e371ff0da5a46cf7134b15d5a30f71b4a254e3 (diff)
[FIX] l10n_ch: fix bad forward port of https://github.com/odoo/odoo/pull/56199
type has be renamed to move_type on account.move. closes odoo/odoo#56725 X-original-commit: 0706f5a392840c0d4a0f8acd197211121ccbcf07 Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
-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"
/>