feat(configurator): A1 - add Express Orders per-part defaults to fp.part.catalog
This commit is contained in:
@@ -288,6 +288,27 @@ class FpPartCatalog(models.Model):
|
||||
'wizard\'s "Save as Default" toggle is ticked.',
|
||||
)
|
||||
|
||||
# ---- Express Orders defaults (2026-05-26) ----
|
||||
default_specification_text = fields.Text(
|
||||
string='Default Specification (Customer-Facing)',
|
||||
help='Pre-fills the Specification cell when this part is added to an '
|
||||
'Express Order. Written here automatically on order confirm — '
|
||||
'type once, reuse forever.',
|
||||
)
|
||||
default_bake_instructions = fields.Text(
|
||||
string='Default Bake Instructions',
|
||||
help='Pre-fills the Bake cell. Empty = bake step is skipped on every '
|
||||
'order; non-empty = bake step runs and these instructions show '
|
||||
'on the operator tablet.',
|
||||
)
|
||||
default_masking_enabled = fields.Boolean(
|
||||
string='Default Masking Enabled',
|
||||
default=True,
|
||||
help='Default state of the Masking checkbox on Express Order lines. '
|
||||
'When False, masking + de-masking recipe nodes are skipped at '
|
||||
'job creation.',
|
||||
)
|
||||
|
||||
# Substrate density mapping (g/cm³) for material weight calculation
|
||||
_SUBSTRATE_DENSITY = {
|
||||
'aluminium': 2.70,
|
||||
|
||||
Reference in New Issue
Block a user