diff --git a/addons/account/views/account_move_views.xml b/addons/account/views/account_move_views.xml index 8801b96dbe7..d204f65b7a1 100644 --- a/addons/account/views/account_move_views.xml +++ b/addons/account/views/account_move_views.xml @@ -1228,7 +1228,7 @@ widget="email" attrs="{'invisible': ['|', ('move_type', 'not in', ('in_invoice', 'in_refund')), ('invoice_source_email', '=', False)]}"/> + attrs="{'readonly': [('state','!=','draft')]}"/> @@ -1238,7 +1238,7 @@ + attrs="{'invisible': [('move_type', '!=', 'entry')], 'readonly': [('state','!=','draft')]}"/>