HimoolERP/apps/purchase/permissions.py
2021-12-16 17:54:31 +08:00

14 lines
300 B
Python

from extensions.permissions import ModelPermission
class PurchaseOrderPermission(ModelPermission):
code = 'purchase_order'
class PurchaseReturnOrderPermission(ModelPermission):
code = 'purchase_return_order'
__all__ = [
'PurchaseOrderPermission', 'PurchaseReturnOrderPermission',
]