changes
This commit is contained in:
@@ -0,0 +1,93 @@
|
||||
<?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_customer_spec_list" model="ir.ui.view">
|
||||
<field name="name">fp.customer.spec.list</field>
|
||||
<field name="model">fusion.plating.customer.spec</field>
|
||||
<field name="arch" type="xml">
|
||||
<list string="Customer Specifications">
|
||||
<field name="code"/>
|
||||
<field name="revision"/>
|
||||
<field name="name"/>
|
||||
<field name="spec_type" widget="badge"
|
||||
decoration-info="spec_type == 'industry'"
|
||||
decoration-success="spec_type == 'customer'"
|
||||
decoration-warning="spec_type == 'internal'"/>
|
||||
<field name="partner_id"/>
|
||||
<field name="effective_date"/>
|
||||
<field name="document_url" widget="url"/>
|
||||
</list>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_fp_customer_spec_form" model="ir.ui.view">
|
||||
<field name="name">fp.customer.spec.form</field>
|
||||
<field name="model">fusion.plating.customer.spec</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Customer Specification">
|
||||
<sheet>
|
||||
<div class="oe_title">
|
||||
<label for="name"/>
|
||||
<h1><field name="name"/></h1>
|
||||
</div>
|
||||
<group>
|
||||
<group>
|
||||
<field name="code"/>
|
||||
<field name="revision"/>
|
||||
<field name="spec_type"/>
|
||||
<field name="partner_id"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="effective_date"/>
|
||||
<field name="document_url" widget="url"/>
|
||||
</group>
|
||||
</group>
|
||||
<group string="Applicable Processes" name="applicable_processes">
|
||||
<field name="process_type_ids" widget="many2many_tags" nolabel="1"/>
|
||||
</group>
|
||||
<notebook>
|
||||
<page string="Notes">
|
||||
<field name="notes"/>
|
||||
</page>
|
||||
</notebook>
|
||||
</sheet>
|
||||
<chatter/>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_fp_customer_spec_search" model="ir.ui.view">
|
||||
<field name="name">fp.customer.spec.search</field>
|
||||
<field name="model">fusion.plating.customer.spec</field>
|
||||
<field name="arch" type="xml">
|
||||
<search string="Customer Specs">
|
||||
<field name="name"/>
|
||||
<field name="code"/>
|
||||
<field name="partner_id"/>
|
||||
<separator/>
|
||||
<filter string="Industry" name="industry" domain="[('spec_type','=','industry')]"/>
|
||||
<filter string="Customer" name="customer" domain="[('spec_type','=','customer')]"/>
|
||||
<filter string="Internal" name="internal" domain="[('spec_type','=','internal')]"/>
|
||||
<separator/>
|
||||
<filter string="Archived" name="inactive" domain="[('active','=',False)]"/>
|
||||
<group>
|
||||
<filter string="Type" name="group_type" context="{'group_by':'spec_type'}"/>
|
||||
<filter string="Customer" name="group_customer" context="{'group_by':'partner_id'}"/>
|
||||
</group>
|
||||
</search>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_fp_customer_spec" model="ir.actions.act_window">
|
||||
<field name="name">Customer Specifications</field>
|
||||
<field name="res_model">fusion.plating.customer.spec</field>
|
||||
<field name="view_mode">list,form</field>
|
||||
<field name="search_view_id" ref="view_fp_customer_spec_search"/>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user