pengyuthon wechat

This commit is contained in:
李鹏宇
2024-11-23 18:23:23 +08:00
parent baec9fde35
commit df46e4ce0e
2 changed files with 19 additions and 18 deletions
+17 -17
View File
@@ -130,23 +130,23 @@ class SoongWorkflowNode(models.Model):
"action_type": "code",
"code": "obj.action_withdraw()",
},),
(0, 0, {
"name": _("加签"),
"workflow_id": val['workflow_id'],
"sequence": 3,
"action_type": "code",
"has_comment": True,
},),
(0, 0, {
"name": _("转交"),
"workflow_id": val['workflow_id'],
"sequence": 3,
"action_type": "code",
"btn_hide": True,
"review_type": 'expression',
# "reviewer_expression": "obj.action_withdraw()", # todo domain
"has_comment": True,
},),
# (0, 0, {
# "name": _("加签"),
# "workflow_id": val['workflow_id'],
# "sequence": 3,
# "action_type": "code",
# "has_comment": True,
# },),
# (0, 0, {
# "name": _("转交"),
# "workflow_id": val['workflow_id'],
# "sequence": 3,
# "action_type": "code",
# "btn_hide": True,
# "review_type": 'expression',
# # "reviewer_expression": "obj.action_withdraw()", # todo domain
# "has_comment": True,
# },),
(0, 0, {
"name": _("退回"),
"workflow_id": val['workflow_id'],
+2 -1
View File
@@ -14,7 +14,8 @@
'views/all_menu.xml'
],
'demo': [],
'depends': ['hr','mail', 'base', 'survey', 'soong_workflow', 'yuthon_wechat', 'documents','yuthon_property_approval'],
'depends': ['hr', 'mail', 'base', 'survey', 'soong_workflow',
'yuthon_wechat', 'documents', 'yuthon_property_approval'],
'installable': True,
'application': True,
}