diff --git a/addons/account/security/account_security.xml b/addons/account/security/account_security.xml index fd9b95655b7..6fc42d68ea8 100644 --- a/addons/account/security/account_security.xml +++ b/addons/account/security/account_security.xml @@ -260,6 +260,13 @@ + + Readonly Invoice Send and Print + + [(1, '=', 1)] + + + Analytic Default multi company rule diff --git a/addons/account/views/account_move_views.xml b/addons/account/views/account_move_views.xml index 9b2b89dada9..4f029a9dd82 100644 --- a/addons/account/views/account_move_views.xml +++ b/addons/account/views/account_move_views.xml @@ -543,13 +543,11 @@ type="object" string="Send & Print" attrs="{'invisible':['|', '|', ('state', '!=', 'posted'), ('is_move_sent', '=', True), ('move_type', 'not in', ('out_invoice', 'out_refund'))]}" - class="oe_highlight" - groups="account.group_account_invoice"/> + class="oe_highlight"/>