feat(configurator): A2 - add Express flags to fp.direct.order.line
This commit is contained in:
@@ -459,6 +459,24 @@ class FpDirectOrderLine(models.Model):
|
||||
'or from the part\'s default range.',
|
||||
)
|
||||
|
||||
# ---- Express Orders per-line flags (2026-05-26) ----
|
||||
customer_line_ref = fields.Char(
|
||||
string='Customer Line Job #',
|
||||
help='Per-line customer sub-reference (e.g. ABC, DEF). Distinct from '
|
||||
'the order-level Customer Job #. Prints on customer docs.',
|
||||
)
|
||||
masking_enabled = fields.Boolean(
|
||||
string='Masking Enabled',
|
||||
default=True,
|
||||
help='When False, masking + de-masking recipe nodes are opted out '
|
||||
'when the job is created.',
|
||||
)
|
||||
bake_instructions = fields.Text(
|
||||
string='Bake Instructions',
|
||||
help='Free-text bake instructions. Empty = bake steps are opted out. '
|
||||
'Non-empty = bake step instructions on the operator tablet.',
|
||||
)
|
||||
|
||||
# ---- Computes ----
|
||||
@api.depends('quantity', 'unit_price')
|
||||
def _compute_line_subtotal(self):
|
||||
|
||||
Reference in New Issue
Block a user