Fix report permissions (#3642)

- Add report model permissions to correct role groups
This commit is contained in:
Oliver 2022-09-05 14:14:59 +10:00 committed by GitHub
parent fd789d28db
commit d7a8d6dd5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,14 +127,15 @@ class RuleSet(models.Model):
],
'purchase_order': [
'company_company',
'company_manufacturerpart',
'company_manufacturerpartparameter',
'company_supplierpart',
'company_supplierpricebreak',
'order_purchaseorder',
'order_purchaseorderattachment',
'order_purchaseorderlineitem',
'order_purchaseorderextraline',
'company_supplierpart',
'company_manufacturerpart',
'company_manufacturerpartparameter',
'report_purchaseorderreport',
],
'sales_order': [
'company_company',
@ -144,6 +145,7 @@ class RuleSet(models.Model):
'order_salesorderlineitem',
'order_salesorderextraline',
'order_salesordershipment',
'report_salesorderreport',
]
}