添加功能

This commit is contained in:
李鹏宇
2026-04-02 09:59:56 +08:00
parent f268d52c70
commit e52722a10f
2 changed files with 2 additions and 2 deletions
@@ -512,7 +512,7 @@ class SoongWorkflowMixin(models.AbstractModel):
# 筛选与当前节点部门匹配的后续节点
valid_nodes = []
for link in current_node.out_link_ids:
if self.name_title in ['业务审批', '汇审意见表', '信息发布申请表',]:
if self.name_title in ['汇审意见表', '信息发布申请表',]:
category_names = self.information_categories_ids.mapped('name')
target_name = link.name.split('->')[-1].strip()
if '工会活动' in category_names:
@@ -676,7 +676,7 @@
<xpath expr="//tree" position="inside">
<header>
<!-- <button name="unbind" type="object" class="btn btn-primary" string="取消绑定"/>-->
<!-- <button name="update_contract_id" type="object" class="oe_highlight" string="更新合同"/>-->
<button name="update_property_employee_id" type="object" class="oe_highlight" string="更新合同"/>
<button name="other" type="object" class="oe_highlight" string="其他"/>
</header>
</xpath>