mirror of
https://github.com/himool/HimoolERP.git
synced 2024-11-15 11:58:42 +08:00
23 lines
531 B
Python
23 lines
531 B
Python
from extensions.permissions import ModelPermission
|
|
|
|
|
|
class InventoryWarningPermission(ModelPermission):
|
|
code = 'inventory_warning'
|
|
|
|
|
|
class ShelfLifeWarningPermission(ModelPermission):
|
|
code = 'shelf_life_warning'
|
|
|
|
|
|
class StockInReminderPermission(ModelPermission):
|
|
code = 'stock_in_reminder'
|
|
|
|
|
|
class StockOutReminderPermission(ModelPermission):
|
|
code = 'stock_out_reminder'
|
|
|
|
|
|
__all__ = [
|
|
'InventoryWarningPermission', 'ShelfLifeWarningPermission',
|
|
'StockInReminderPermission', 'StockOutReminderPermission',
|
|
]
|