feat(configurator): per-customer default lead time on partner profile
Adds two Integer fields to res.partner: - x_fc_default_lead_time_min_days - x_fc_default_lead_time_max_days Set once on the customer's Plating Defaults tab (Fulfilment group); auto-copies onto every new Express Order via the existing _onchange_partner_id hook. Operator can still override per-order since the onchange only fills when the wizard field is still blank. Field declaration lives in fusion_plating_configurator (alongside the rest of the partner cascade reads). View edit lives in fusion_plating_invoicing where the Plating Defaults tab already hosts the other partner-level defaults (invoice strategy, deposit %, delivery method, deadline-days). Invoicing depends on configurator, so the fields are registered before the view loads. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
{
|
||||
'name': 'Fusion Plating — Configurator',
|
||||
'version': '19.0.22.6.0',
|
||||
'version': '19.0.22.7.0',
|
||||
'category': 'Manufacturing/Plating',
|
||||
'summary': 'Quotation configurator with part catalog, coating configs, and formula-based pricing engine.',
|
||||
'description': """
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
{
|
||||
'name': 'Fusion Plating — Invoicing',
|
||||
'version': '19.0.3.6.3',
|
||||
'version': '19.0.3.7.0',
|
||||
'category': 'Manufacturing/Plating',
|
||||
'summary': 'Invoice strategy engine with deposit, progress billing, net terms, COD/prepay, and account holds.',
|
||||
'description': """
|
||||
|
||||
@@ -49,6 +49,10 @@
|
||||
<field name="x_fc_default_delivery_method"/>
|
||||
<field name="x_fc_default_internal_deadline_days"/>
|
||||
<field name="x_fc_default_customer_deadline_days"/>
|
||||
<field name="x_fc_default_lead_time_min_days"
|
||||
string="Lead Time Min (days)"/>
|
||||
<field name="x_fc_default_lead_time_max_days"
|
||||
string="Lead Time Max (days)"/>
|
||||
</group>
|
||||
</group>
|
||||
</page>
|
||||
|
||||
Reference in New Issue
Block a user