summaryrefslogtreecommitdiff
path: root/addons/sale_quotation_builder
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2020-05-28 14:48:19 +0000
committerNicolas Lempereur <nle@odoo.com>2020-05-29 12:33:09 +0000
commita10440358b9273d1272fa622a2f49f1203c2a6da (patch)
tree87438defb9b6ea09f648afa9f212284444f5bb67 /addons/sale_quotation_builder
parent0ce05c540d25ebc4bd589c1e2436ee2aa642ccf5 (diff)
[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>
Diffstat (limited to 'addons/sale_quotation_builder')
-rw-r--r--addons/sale_quotation_builder/views/sale_order_views.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/addons/sale_quotation_builder/views/sale_order_views.xml b/addons/sale_quotation_builder/views/sale_order_views.xml
index ff2eb495f49..ec747739b7f 100644
--- a/addons/sale_quotation_builder/views/sale_order_views.xml
+++ b/addons/sale_quotation_builder/views/sale_order_views.xml
@@ -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>