fix(plating): trim default SO order-line columns to the plating set
Default-hide six order-line columns that aren't part of the plating view (Product/product_template_id, Description Template, Specification, Delivered Qty, Invoiced Qty, Taxes) by flipping them to optional="hide". They stay available via the optional-columns toggle. Default-visible set is now Customer-Facing, Part, Process/Recipe, Thickness, Serial, Job #, Effective Deadline, Qty, Unit, Unit Price, Amount — for both quotations and sales orders. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': 'Fusion Plating — Configurator',
|
'name': 'Fusion Plating — Configurator',
|
||||||
'version': '19.0.23.5.0',
|
'version': '19.0.23.6.0',
|
||||||
'category': 'Manufacturing/Plating',
|
'category': 'Manufacturing/Plating',
|
||||||
'summary': 'Quotation configurator with part catalog, coating configs, and formula-based pricing engine.',
|
'summary': 'Quotation configurator with part catalog, coating configs, and formula-based pricing engine.',
|
||||||
'description': """
|
'description': """
|
||||||
|
|||||||
@@ -315,7 +315,7 @@
|
|||||||
domain="[('part_catalog_id', '=', x_fc_part_catalog_id)]"
|
domain="[('part_catalog_id', '=', x_fc_part_catalog_id)]"
|
||||||
context="{'default_part_catalog_id': x_fc_part_catalog_id}"
|
context="{'default_part_catalog_id': x_fc_part_catalog_id}"
|
||||||
invisible="not x_fc_part_catalog_id"
|
invisible="not x_fc_part_catalog_id"
|
||||||
optional="show"/>
|
optional="hide"/>
|
||||||
<field name="x_fc_internal_description"
|
<field name="x_fc_internal_description"
|
||||||
placeholder="Shop-floor workflow instructions (prints on WO / traveler)"
|
placeholder="Shop-floor workflow instructions (prints on WO / traveler)"
|
||||||
optional="hide"/>
|
optional="hide"/>
|
||||||
@@ -378,6 +378,23 @@
|
|||||||
<xpath expr="//field[@name='order_line']/list/field[@name='price_subtotal']" position="attributes">
|
<xpath expr="//field[@name='order_line']/list/field[@name='price_subtotal']" position="attributes">
|
||||||
<attribute name="groups">fusion_plating.group_fp_sales_rep</attribute>
|
<attribute name="groups">fusion_plating.group_fp_sales_rep</attribute>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
<!-- Default-hidden columns (still toggleable via the optional-
|
||||||
|
columns menu). Keeps the order-line grid focused on the
|
||||||
|
plating fields; the generic FP-SERVICE product, delivered/
|
||||||
|
invoiced quantities, and the per-line tax column are noise
|
||||||
|
on a plating order. Estimators can switch any back on. -->
|
||||||
|
<xpath expr="//field[@name='order_line']/list/field[@name='product_template_id']" position="attributes">
|
||||||
|
<attribute name="optional">hide</attribute>
|
||||||
|
</xpath>
|
||||||
|
<xpath expr="//field[@name='order_line']/list/field[@name='qty_delivered']" position="attributes">
|
||||||
|
<attribute name="optional">hide</attribute>
|
||||||
|
</xpath>
|
||||||
|
<xpath expr="//field[@name='order_line']/list/field[@name='qty_invoiced']" position="attributes">
|
||||||
|
<attribute name="optional">hide</attribute>
|
||||||
|
</xpath>
|
||||||
|
<xpath expr="//field[@name='order_line']/list/field[@name='tax_ids']" position="attributes">
|
||||||
|
<attribute name="optional">hide</attribute>
|
||||||
|
</xpath>
|
||||||
<!-- Odoo 19: amount_total / amount_untaxed / amount_tax are rendered
|
<!-- Odoo 19: amount_total / amount_untaxed / amount_tax are rendered
|
||||||
by the single tax_totals widget; no separate fields. Gate the
|
by the single tax_totals widget; no separate fields. Gate the
|
||||||
widget itself to hide the entire totals block from non-Sales-Rep. -->
|
widget itself to hide the entire totals block from non-Sales-Rep. -->
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': 'Fusion Plating — Quality (QMS)',
|
'name': 'Fusion Plating — Quality (QMS)',
|
||||||
'version': '19.0.8.0.0',
|
'version': '19.0.8.1.0',
|
||||||
'category': 'Manufacturing/Plating',
|
'category': 'Manufacturing/Plating',
|
||||||
'summary': 'Native QMS for plating shops: NCR, CAPA, calibration, AVL, FAIR, '
|
'summary': 'Native QMS for plating shops: NCR, CAPA, calibration, AVL, FAIR, '
|
||||||
'internal audits, customer specs, document control. CE + EE compatible.',
|
'internal audits, customer specs, document control. CE + EE compatible.',
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
<field name="x_fc_customer_spec_id"
|
<field name="x_fc_customer_spec_id"
|
||||||
string="Specification"
|
string="Specification"
|
||||||
options="{'no_quick_create': True}"
|
options="{'no_quick_create': True}"
|
||||||
optional="show"/>
|
optional="hide"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
Reference in New Issue
Block a user