[FIX] sale_quotation_builder: have template option description

The quotation template edition allows to save and use the description
of an optional product.

But when a quotation template is set, the description of optional
product is lost so we the optional product description was never used.

opw-2260457
closes #52133

closes odoo/odoo#52167

X-original-commit: 81d13f4097e7fca9fbb623839a2c90b04bd9ec29
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
This commit is contained in:
Nicolas Lempereur
2020-05-29 12:33:09 +00:00
parent 0ce05c540d
commit a10440358b
@@ -14,6 +14,16 @@
<field name="website_description" invisible="1" readonly="1"/>
</xpath>
<xpath expr="//page/field[@name='sale_order_option_ids']/kanban/field[@name='product_id']" position="after">
<field name="website_description" invisible="1" readonly="1" force_save="1"/>
</xpath>
<xpath expr="//page/field[@name='sale_order_option_ids']/form//field[@name='name']" position="after">
<field name="website_description" invisible="1" readonly="1" force_save="1"/>
</xpath>
<xpath expr="//page/field[@name='sale_order_option_ids']/tree/field[@name='name']" position="after">
<field name="website_description" invisible="1" readonly="1" force_save="1"/>
</xpath>
<xpath expr="//button[@name='button_add_to_order']" position="after">
<field name="website_description" invisible="1"/>
</xpath>