!7319 添加功能

Merge pull request !7319 from 李鹏宇/dev_zhou
This commit is contained in:
李鹏宇
2025-12-26 09:01:40 +00:00
committed by Gitee
@@ -81,29 +81,29 @@
<attribute name="domain">[('is_employee', '=', False)]</attribute>
</xpath>
<xpath expr="//page[@name='products']" position="after">
<page string="服务明细" invisible="purchase_type != 'service'">
<field name="pay_line_ids">
<tree editable="bottom">
<field name="purchase_id" column_invisible="1"/>
<field name="payment_stage" required="1"/>
<field name="amount"/>
<field name="payment_date"/>
<field name="remake"/>
</tree>
</field>
</page>
</xpath>
<page string="低值易耗明细" invisible="purchase_type != 'low'">
<field name="pay_line_ids">
<tree editable="bottom">
<field name="purchase_id" column_invisible="1"/>
<field name="payment_stage" required="1"/>
<field name="amount"/>
<field name="payment_date"/>
<field name="remake"/>
</tree>
</field>
</page>
<!-- <page string="服务明细" invisible="purchase_type != 'service'">-->
<!-- <field name="pay_line_ids">-->
<!-- <tree editable="bottom">-->
<!-- <field name="purchase_id" column_invisible="1"/>-->
<!-- <field name="payment_stage" required="1"/>-->
<!-- <field name="amount"/>-->
<!-- <field name="payment_date"/>-->
<!-- <field name="remake"/>-->
<!-- </tree>-->
<!-- </field>-->
<!-- </page>-->
<!-- </xpath>-->
<!-- <page string="低值易耗明细" invisible="purchase_type != 'low'">-->
<!-- <field name="pay_line_ids">-->
<!-- <tree editable="bottom">-->
<!-- <field name="purchase_id" column_invisible="1"/>-->
<!-- <field name="payment_stage" required="1"/>-->
<!-- <field name="amount"/>-->
<!-- <field name="payment_date"/>-->
<!-- <field name="remake"/>-->
<!-- </tree>-->
<!-- </field>-->
<!-- </page>-->
<page string="付款详情" invisible="pay_way == 'onetime'">
<field name="pay_line_ids">
<tree editable="bottom">
@@ -115,27 +115,10 @@
</tree>
</field>
</page>
</xpath>
<xpath expr="//page[@name='purchase_delivery_invoice']" position="attributes">
<attribute name="invisible">True</attribute>
</xpath>
</field>
<!-- <xpath expr="//page[@string='purchase_delivery_invoice']" position="after">-->
<!-- <page string="关联流程">-->
<!-- <field name="issue_library_approval_line_ids" readonly="1">-->
<!-- <tree editable="bottom">-->
<!-- <field name="issue_library_id" column_invisible="1"/>-->
<!-- <field name="res_model" column_invisible="1"/>-->
<!-- <field name="res_id" column_invisible="1"/>-->
<!-- <field name="code"/>-->
<!-- <field name="workflow_name"/>-->
<!-- <field name="approval_type"/>-->
<!-- <field name="approval_date"/>-->
<!-- <button name="open_record" type="object" string="详情" class="btn-primary"/>-->
<!-- </tree>-->
<!-- </field>-->
<!-- </page>-->
<!-- </xpath>-->
<!-- </field>-->
</record>
</odoo>