feat(configurator): two-column dual-description repeater on part form (Sub 2 Task 14)

This commit is contained in:
gsinghpal
2026-04-21 22:47:05 -04:00
parent afee8d5ee8
commit d1c855698a

View File

@@ -192,23 +192,21 @@
</div>
</page>
<page string="Descriptions" name="descriptions">
<p class="text-muted">
Canned descriptions for this part. Whichever one the
estimator picks on the order wizard lands on the SO
line — they can tweak the text before confirming.
Typically 35 variants per part (e.g. <em>Standard</em>,
<em>With threaded holes masked</em>, <em>Special
packaging</em>).
</p>
<div class="alert alert-info" role="alert">
<strong>Canned descriptions for this part.</strong>
Internal = what the shop floor sees on the WO / traveler.
Customer-Facing = what prints on SO, invoice, packing slip.
Whichever row the estimator picks on the order wizard lands both values on the SO line.
</div>
<field name="description_template_ids"
context="{'default_part_catalog_id': id, 'default_partner_id': partner_id}">
<list editable="bottom">
<field name="sequence" widget="handle"/>
<field name="name" placeholder="e.g. Standard, or With masking, etc."/>
<field name="tag"/>
<field name="description"
placeholder="Full description text that lands on the order line..."/>
<field name="usage_count" readonly="1" optional="show"/>
<field name="name" placeholder="e.g. Standard, With threaded holes masked"/>
<field name="tag" optional="show"/>
<field name="internal_description" placeholder="What the shop floor sees on the WO / traveler"/>
<field name="customer_facing_description" placeholder="What prints on SO, invoice, packing slip"/>
<field name="usage_count" string="Used" optional="hide"/>
<field name="active" widget="boolean_toggle"/>
</list>
</field>