feat(configurator): A3 - add Express x_fc_* flags to sale.order.line
This commit is contained in:
@@ -312,6 +312,27 @@ class SaleOrderLine(models.Model):
|
||||
'pair, falling back to the part\'s default range. Prints '
|
||||
'verbatim on the cert, packing slip, and invoice.',
|
||||
)
|
||||
|
||||
# ---- Express Orders per-line flags (2026-05-26) ----
|
||||
# Mirror fp.direct.order.line.{customer_line_ref, masking_enabled, bake_instructions}
|
||||
# and persist past wizard confirm so _fp_apply_express_overrides_to_job can read them.
|
||||
x_fc_customer_line_ref = fields.Char(
|
||||
string='Customer Line Job #',
|
||||
help='Per-line customer sub-reference (e.g. ABC, DEF). '
|
||||
'Prints on customer docs (quote, SO, invoice, packing slip).',
|
||||
)
|
||||
x_fc_masking_enabled = fields.Boolean(
|
||||
string='Masking Enabled',
|
||||
default=True,
|
||||
help='When False, the job-creation hook spawns fp.job.node.override '
|
||||
'(included=False) for every masking + de_masking node on the recipe.',
|
||||
)
|
||||
x_fc_bake_instructions = fields.Text(
|
||||
string='Bake Instructions',
|
||||
help='Empty = bake steps are opted out of the job. Non-empty = bake '
|
||||
'steps run, with this text shown on the operator tablet under '
|
||||
'fp.job.step.instructions.',
|
||||
)
|
||||
x_fc_revision_snapshot = fields.Char(
|
||||
string='Revision (snapshot)',
|
||||
copy=False,
|
||||
|
||||
Reference in New Issue
Block a user