mirror of
https://github.com/himool/HimoolERP.git
synced 2024-11-15 11:58:42 +08:00
28 lines
602 B
Python
28 lines
602 B
Python
from extensions.permissions import ModelPermission
|
|
|
|
|
|
class PurchaseReportPermission(ModelPermission):
|
|
code = 'purchase_report'
|
|
|
|
|
|
class SalesReportPermission(ModelPermission):
|
|
code = 'sales_report'
|
|
|
|
|
|
class SalesHotGoodsPermission(ModelPermission):
|
|
code = 'sales_hot_goods'
|
|
|
|
|
|
class SalesTrendPermission(ModelPermission):
|
|
code = 'sales_trend'
|
|
|
|
|
|
class FinanceStatisticPermission(ModelPermission):
|
|
code = 'finance_statistic'
|
|
|
|
|
|
__all__ = [
|
|
'PurchaseReportPermission', 'SalesReportPermission',
|
|
'SalesHotGoodsPermission', 'SalesTrendPermission',
|
|
'FinanceStatisticPermission',
|
|
]
|