Skip to content

Commit

Permalink
[14.0][FIX] l10n_it_fatturapa_sale, field permission
Browse files Browse the repository at this point in the history
  • Loading branch information
GSLabIt committed Apr 21, 2022
1 parent c33596f commit b131a44
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion l10n_it_fatturapa_sale/models/sale_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
4 changes: 2 additions & 2 deletions l10n_it_fatturapa_sale/models/sale_order_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit b131a44

Please sign in to comment.