feat(configurator): add internal + customer-facing description fields (Sub 2 Task 2)
This commit is contained in:
@@ -35,6 +35,18 @@ class FpSaleDescriptionTemplate(models.Model):
|
||||
help='Boilerplate text. The user can tweak this in the wizard before '
|
||||
'it lands on the order line.',
|
||||
)
|
||||
# Sub 2 — dual descriptions. Added alongside the legacy `description`
|
||||
# field; migration copies old value into both, then old column dropped
|
||||
# in Phase C. Nullable during Phase A so existing records don't fail.
|
||||
internal_description = fields.Text(
|
||||
string='Internal Description',
|
||||
help='What the shop floor sees on the WO / traveler. Never on '
|
||||
'customer documents.',
|
||||
)
|
||||
customer_facing_description = fields.Text(
|
||||
string='Customer-Facing Description',
|
||||
help='Prints on the SO, invoice, packing slip, and BoL.',
|
||||
)
|
||||
sequence = fields.Integer(default=10)
|
||||
part_catalog_id = fields.Many2one(
|
||||
'fp.part.catalog', string='Part',
|
||||
|
||||
Reference in New Issue
Block a user