forked from erp-dev/erp
fix: added permission for plate_order and printing_order api
This commit is contained in:
@@ -185,6 +185,7 @@ class PlateOrder(ModelBase):
|
||||
permissions = [
|
||||
('can_invalidate_plateorder', '可以作废开版订单'),
|
||||
('can_activate_plateorder', '可以恢复开版订单'),
|
||||
('view_all_plateorders', '查看所有开版订单(突破客户可见性限制)'),
|
||||
]
|
||||
|
||||
@property
|
||||
@@ -318,6 +319,7 @@ class PrintingOrder(ModelBase):
|
||||
permissions = [
|
||||
('can_invalidate_printingorder', '可以作废印染订单'),
|
||||
('can_activate_printingorder', '可以恢复印染订单'),
|
||||
('view_all_printingorders', '查看所有印染订单(突破客户可见性限制)'),
|
||||
]
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user