folder rename
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright 2026 Nexa Systems Inc.
|
||||
License OPL-1 (Odoo Proprietary License v1.0)
|
||||
Part of the Fusion Plating product family.
|
||||
|
||||
The upstream fusion_plating_quality CAPA form does not ship with a
|
||||
button_box. We inject one at the top of the <sheet> so our stat button
|
||||
has somewhere to live. Adding via the sheet xpath keeps the core form
|
||||
untouched.
|
||||
-->
|
||||
<odoo>
|
||||
|
||||
<record id="view_fp_capa_form_bridge_documents" model="ir.ui.view">
|
||||
<field name="name">fp.capa.form.bridge.documents</field>
|
||||
<field name="model">fusion.plating.capa</field>
|
||||
<field name="inherit_id" ref="fusion_plating_quality.view_fp_capa_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//sheet/div[hasclass('oe_title')]" position="before">
|
||||
<div class="oe_button_box" name="button_box">
|
||||
<button name="action_view_documents" type="object"
|
||||
class="oe_stat_button" icon="fa-folder-open">
|
||||
<field name="x_fc_document_count" widget="statinfo" string="Documents"/>
|
||||
</button>
|
||||
</div>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright 2026 Nexa Systems Inc.
|
||||
License OPL-1 (Odoo Proprietary License v1.0)
|
||||
Part of the Fusion Plating product family.
|
||||
|
||||
The upstream fusion_plating_quality Doc Control form does not ship
|
||||
with a button_box. We inject one at the top of the <sheet> so our
|
||||
stat button has somewhere to live.
|
||||
-->
|
||||
<odoo>
|
||||
|
||||
<record id="view_fp_doc_control_form_bridge_documents" model="ir.ui.view">
|
||||
<field name="name">fp.doc.control.form.bridge.documents</field>
|
||||
<field name="model">fusion.plating.doc.control</field>
|
||||
<field name="inherit_id" ref="fusion_plating_quality.view_fp_doc_control_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//sheet/div[hasclass('oe_title')]" position="before">
|
||||
<div class="oe_button_box" name="button_box">
|
||||
<button name="action_view_documents" type="object"
|
||||
class="oe_stat_button" icon="fa-folder-open">
|
||||
<field name="x_fc_document_count" widget="statinfo" string="Documents"/>
|
||||
</button>
|
||||
</div>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright 2026 Nexa Systems Inc.
|
||||
License OPL-1 (Odoo Proprietary License v1.0)
|
||||
Part of the Fusion Plating product family.
|
||||
|
||||
The upstream fusion_plating_quality FAIR form does not ship with a
|
||||
button_box. We inject one at the top of the <sheet> so our stat button
|
||||
has somewhere to live.
|
||||
-->
|
||||
<odoo>
|
||||
|
||||
<record id="view_fp_fair_form_bridge_documents" model="ir.ui.view">
|
||||
<field name="name">fp.fair.form.bridge.documents</field>
|
||||
<field name="model">fusion.plating.fair</field>
|
||||
<field name="inherit_id" ref="fusion_plating_quality.view_fp_fair_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//sheet/div[hasclass('oe_title')]" position="before">
|
||||
<div class="oe_button_box" name="button_box">
|
||||
<button name="action_view_documents" type="object"
|
||||
class="oe_stat_button" icon="fa-folder-open">
|
||||
<field name="x_fc_document_count" widget="statinfo" string="Documents"/>
|
||||
</button>
|
||||
</div>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright 2026 Nexa Systems Inc.
|
||||
License OPL-1 (Odoo Proprietary License v1.0)
|
||||
Part of the Fusion Plating product family.
|
||||
-->
|
||||
<odoo>
|
||||
|
||||
<record id="view_fp_ncr_form_bridge_documents" model="ir.ui.view">
|
||||
<field name="name">fp.ncr.form.bridge.documents</field>
|
||||
<field name="model">fusion.plating.ncr</field>
|
||||
<field name="inherit_id" ref="fusion_plating_quality.view_fp_ncr_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//div[@name='button_box']" position="inside">
|
||||
<button name="action_view_documents" type="object"
|
||||
class="oe_stat_button" icon="fa-folder-open">
|
||||
<field name="x_fc_document_count" widget="statinfo" string="Documents"/>
|
||||
</button>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user