关联流程详情左移

This commit is contained in:
李鹏宇
2026-02-05 15:13:06 +08:00
parent 9a4e96d143
commit fb2aa70fea
3 changed files with 13 additions and 7 deletions
@@ -33,6 +33,7 @@
<page string="关联流程">
<field name="soong_record_ids" style="width:100%; margin-top: 10px;">
<tree create="1" edit="1" delete="1" editable="bottom" type="object">
<button name="open_record" type="object" string="详情" class="btn-primary"/>
<field name="workflow_record_id" domain="[('users_ids', 'in', uid)]"
options="{'no_open': True}" context="{'tree_view_ref': 'soong_workflow.soong_workflow_record_no_action_tree'}"/>
<field name="code" column_invisible="1"/>
@@ -42,7 +43,7 @@
<field name="department_id"/>
<field name="approvals_group_id" column_invisible="1"/>
<field name="write_date2"/>
<button name="open_record" type="object" string="详情" class="btn-primary"/>
<!-- <button name="open_record" type="object" string="详情" class="btn-primary"/>-->
<button name="unlink" type="object" string="删除" class="btn-primary"/>
</tree>
</field>
@@ -90,6 +91,7 @@
<page string="关联流程">
<field name="soong_record_ids" style="width:100%%; margin-top: 10px;">
<tree editable="bottom" delete="False">
<button name="open_record" type="object" string="详情" class="btn-primary"/>
<field name="workflow_record_id" domain="[('users_ids', 'in', uid)]"
options="{'no_open': True}" context="{'tree_view_ref': 'soong_workflow.soong_workflow_record_no_action_tree'}"/>
<field name="code" column_invisible="1"/>
@@ -99,7 +101,7 @@
<field name="department_id"/>
<field name="approvals_group_id" column_invisible="1"/>
<field name="write_date2"/>
<button name="open_record" type="object" string="详情" class="btn-primary"/>
<!-- <button name="open_record" type="object" string="详情" class="btn-primary"/>-->
<button name="unlink" type="object" string="删除" class="btn-primary"/>
</tree>
</field>
@@ -10,7 +10,7 @@
</header>
<field name="employee_id" options="{'no_create': True}"/>
<field name="year" column_invisible="1"/>
<field name="company_id" required="1" optional="show"/>
<!-- <field name="company_id" required="1" optional="show"/>-->
<field name="current_year_remaining" options='{ "fg_color": "blue"}'/>
<field name="this_year_quota"/>
<field name="last_year_balance"/>
+8 -4
View File
@@ -238,6 +238,7 @@
<button name="add_workflow" string="添加流程" type="object" class="btn-primary"/>
<field name="issue_library_approval_line_ids" readonly="1">
<tree editable="bottom">
<button name="open_record" type="object" string="详情" class="btn-primary"/>
<field name="issue_library_id" column_invisible="1"/>
<field name="res_model" column_invisible="1"/>
<field name="res_id" column_invisible="1"/>
@@ -246,7 +247,7 @@
<field name="approval_type"/>
<field name="department_id"/>
<field name="approval_date"/>
<button name="open_record" type="object" string="详情" class="btn-primary"/>
<!-- <button name="open_record" type="object" string="详情" class="btn-primary"/>-->
</tree>
</field>
</page>
@@ -457,6 +458,7 @@
<button name="add_workflow" string="添加流程" type="object" class="btn-primary"/>
<field name="issue_library_approval_line_ids" readonly="1">
<tree editable="bottom">
<button name="open_record" type="object" string="详情" class="btn-primary"/>
<field name="issue_library_id" column_invisible="1"/>
<field name="res_model" column_invisible="1"/>
<field name="res_id" column_invisible="1"/>
@@ -465,7 +467,7 @@
<field name="approval_type"/>
<field name="department_id"/>
<field name="approval_date"/>
<button name="open_record" type="object" string="详情" class="btn-primary"/>
<!-- <button name="open_record" type="object" string="详情" class="btn-primary"/>-->
</tree>
</field>
</page>
@@ -627,6 +629,7 @@
<button name="add_workflow" string="添加流程" type="object" class="btn-primary"/>
<field name="issue_library_approval_line_ids" readonly="1">
<tree editable="bottom">
<button name="open_record" type="object" string="详情" class="btn-primary"/>
<field name="issue_library_id" column_invisible="1"/>
<field name="res_model" column_invisible="1"/>
<field name="res_id" column_invisible="1"/>
@@ -635,7 +638,7 @@
<field name="approval_type"/>
<field name="department_id"/>
<field name="approval_date"/>
<button name="open_record" type="object" string="详情" class="btn-primary"/>
<!-- <button name="open_record" type="object" string="详情" class="btn-primary"/>-->
</tree>
</field>
</page>
@@ -786,6 +789,7 @@
<button name="add_workflow" string="添加流程" type="object" class="btn-primary"/>
<field name="issue_library_approval_line_ids" readonly="1">
<tree editable="bottom">
<button name="open_record" type="object" string="详情" class="btn-primary"/>
<field name="issue_library_id" column_invisible="1"/>
<field name="res_model" column_invisible="1"/>
<field name="res_id" column_invisible="1"/>
@@ -794,7 +798,7 @@
<field name="approval_type"/>
<field name="department_id"/>
<field name="approval_date"/>
<button name="open_record" type="object" string="详情" class="btn-primary"/>
<!-- <button name="open_record" type="object" string="详情" class="btn-primary"/>-->
</tree>
</field>
</page>