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