HimoolERP/apps/statistic/permissions.py

15 lines
278 B
Python
Raw Normal View History

2021-12-16 17:54:31 +08:00
from extensions.permissions import ModelPermission
2021-11-04 23:49:56 +08:00
2021-12-26 23:00:08 +08:00
class PurchaseReportPermission(ModelPermission):
code = 'purchase_report'
class SalesReportPermission(ModelPermission):
code = 'sales_report'
2021-11-04 23:49:56 +08:00
2021-12-26 23:00:08 +08:00
__all__ = [
'PurchaseReportPermission', 'SalesReportPermission',
2021-11-04 23:49:56 +08:00
]