diff --git a/addons/account/views/account_move_views.xml b/addons/account/views/account_move_views.xml index 8774e35518c..a613fdf4b80 100644 --- a/addons/account/views/account_move_views.xml +++ b/addons/account/views/account_move_views.xml @@ -655,7 +655,8 @@ attrs="{'invisible': ['|', '|', ('state', '!=', 'draft'), ('auto_post', '=', 'no'), ('auto_post', '=', 'at_date')]}"> auto-posting enabled. Next accounting date: . The recurrence will end on (included). - diff --git a/addons/sale/views/sale_order_views.xml b/addons/sale/views/sale_order_views.xml index 208d95e3bd8..5d605f3880a 100644 --- a/addons/sale/views/sale_order_views.xml +++ b/addons/sale/views/sale_order_views.xml @@ -220,7 +220,8 @@ + attrs="{'invisible': [('partner_credit_warning', '=', '')]}" + groups="account.group_account_invoice,account.group_account_readonly"/>