mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Fix report permissions (#3642)
- Add report model permissions to correct role groups
This commit is contained in:
parent
fd789d28db
commit
d7a8d6dd5e
@ -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',
|
||||
]
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user