HimoolERP/apps/purchase/permissions.py

15 lines
300 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-16 17:54:31 +08:00
class PurchaseOrderPermission(ModelPermission):
2021-11-11 23:58:18 +08:00
code = 'purchase_order'
2021-12-16 17:54:31 +08:00
class PurchaseReturnOrderPermission(ModelPermission):
2021-11-11 23:58:18 +08:00
code = 'purchase_return_order'
2021-11-04 23:49:56 +08:00
2021-11-11 23:58:18 +08:00
__all__ = [
'PurchaseOrderPermission', 'PurchaseReturnOrderPermission',
2021-11-04 23:49:56 +08:00
]