feat(configurator): A4 - add Express header fields to sale.order

This commit is contained in:
gsinghpal
2026-05-26 20:58:23 -04:00
parent ad3d6261af
commit 08bc2b6a89
2 changed files with 36 additions and 0 deletions

View File

@@ -121,6 +121,25 @@ class SaleOrder(models.Model):
'each shop slices its backlog differently (customer programme, '
'priority, week, etc.).',
)
# ---- Express Orders header-level (2026-05-26) ----
x_fc_material_process = fields.Char(
string='Material / Process Tag',
help='Free-text order-level shop tag (e.g. ENP-STEEL-HP-ADVANCED). '
'Informational; not used by the workflow.',
)
x_fc_internal_notes = fields.Text(
string='Order-Level Internal Notes',
help='Notes visible only to the estimator / planner / shop. Never '
'prints on customer-facing PDFs. Distinct from sale.order.note '
'which IS customer-facing (Terms & Conditions).',
)
x_fc_print_terms = fields.Boolean(
string='Print Terms on Customer Documents',
default=True,
help='When False, the Terms & Conditions (sale.order.note) is '
'suppressed on quote / SO / invoice / packing slip PDFs.',
)
x_fc_planned_start_date = fields.Date(
string='Planned Start Date', tracking=True,
)