HimoolERP/apps/purchase/permissions.py

15 lines
312 B
Python
Raw Normal View History

2021-11-04 23:49:56 +08:00
from extensions.permissions import InterfacePermission
2021-11-11 23:58:18 +08:00
class PurchaseOrderPermission(InterfacePermission):
code = 'purchase_order'
class PurchaseReturnOrderPermission(InterfacePermission):
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
]