summaryrefslogtreecommitdiff
path: root/addons/sale_quotation_builder
diff options
context:
space:
mode:
authorRémy Baranx (bar) <bar@odoo.com>2020-03-06 08:16:17 +0000
committerYannick Tivisse <yti@odoo.com>2020-03-31 13:47:27 +0000
commit840c18d23095e7e73910aede7853f4d55db602ea (patch)
tree441662c418e7ccb617d116e0b99fb8b8e5556eea /addons/sale_quotation_builder
parent532c2b44ff38a29710fa06d1ea62782cc223dc34 (diff)
[IMP] sale_management: remove price_unit from quotation template
Purpose ======= Having price and discount on quotation template is quite confusing as it is more the job of pricelists. In order to make it more simple for the user, we should remove the fields price_unit and discount from quotation template. Implementation ======== Now, the public price of a product is used instead of the price from the quotation template. If a pricelist exists, it is taken into account as before. + Add new tests to check the sale order template behavior. closes odoo/odoo#47186 Taskid: 47186 Related: odoo/upgrade#972 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/sale_quotation_builder')
-rw-r--r--addons/sale_quotation_builder/views/sale_order_template_views.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/sale_quotation_builder/views/sale_order_template_views.xml b/addons/sale_quotation_builder/views/sale_order_template_views.xml
index c64d8a9143f..339f5d6abbf 100644
--- a/addons/sale_quotation_builder/views/sale_order_template_views.xml
+++ b/addons/sale_quotation_builder/views/sale_order_template_views.xml
@@ -19,7 +19,7 @@
</page>
</xpath>
- <xpath expr="//tree/field[@name='price_unit']" position="after">
+ <xpath expr="//tree/field[@name='product_uom_id']" position="after">
<field name="website_description" invisible="1"/>
</xpath>