diff --git a/l10n_it_fatturapa_sale/models/sale_order.py b/l10n_it_fatturapa_sale/models/sale_order.py index 5a76095d3a5d..21877edfc07d 100644 --- a/l10n_it_fatturapa_sale/models/sale_order.py +++ b/l10n_it_fatturapa_sale/models/sale_order.py @@ -12,7 +12,7 @@ class SaleOrder(models.Model): inverse_name="sale_order_id", string="Related Documents", copy=False, - groups="account.group_account_user", + groups="account.group_account_user,sales_team.group_sale_salesman", ) def _create_invoices(self, grouped=False, final=False, date=None): diff --git a/l10n_it_fatturapa_sale/models/sale_order_line.py b/l10n_it_fatturapa_sale/models/sale_order_line.py index 351ab53783af..55d2ea972cbd 100644 --- a/l10n_it_fatturapa_sale/models/sale_order_line.py +++ b/l10n_it_fatturapa_sale/models/sale_order_line.py @@ -12,12 +12,12 @@ class SaleOrderLine(models.Model): inverse_name="sale_order_line_id", string="Related Documents", copy=False, - groups="account.group_account_user", + groups="account.group_account_user,sales_team.group_sale_salesman", ) admin_ref = fields.Char( string="Admin. ref.", copy=False, - groups="account.group_account_user", + groups="account.group_account_user,sales_team.group_sale_salesman", ) def _prepare_invoice_line(self, **optional_values):