From 365934bada3ed276cc5a41b563ff6d1578ad7b01 Mon Sep 17 00:00:00 2001 From: "Pierre Collinet (pic)" Date: Tue, 30 Jun 2020 13:39:23 +0000 Subject: [PATCH] [FIX] sale: Apply several fix on sales tour 1. Lead to loose the tour: Remove the step of the tour that asks to set an address (the address is auto-completed at free trial based on domain name). 2. Bug: At step 3, it redirects to the invoice settings to select a localization, when you click on "install more packages", you are sent back to the sales app. --> this bug is related to res_config_settings.js from base addon. I tried to fix this bug by adding a data-attribute "discard" in the res_config_settings_views and checking this additional condition in the js. 3. Bug: Tour blocks at last step "send by email" on quotation. After clicking on "sent" on the pop-up, there should be rainbow effect to mark the end of the tour. 4. Bug: Sale order line: fix the blue color on Invoiced Quantity only, instead of the full line 5. Put the "sample product" in active= false (it's necessary for the sample invoice but should not be visible to the user, they should create their own) 6. Merge the 2 dates fields related to expected delivery on sale.order --> since other modules extends this module, I made the field expected_date invisible and put the same value in both fields. This value is the max of the order_lines.expected_date Taskid: 2277314 X-original-commit: b9ffda35ecf31f3af52bf04f23c6794429548d23 --- addons/sale/views/sale_views.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/addons/sale/views/sale_views.xml b/addons/sale/views/sale_views.xml index 46f5e2d291f..db42045fae8 100644 --- a/addons/sale/views/sale_views.xml +++ b/addons/sale/views/sale_views.xml @@ -534,6 +534,7 @@ string="Invoiced" attrs="{'column_invisible': [('parent.state', 'not in', ['sale', 'done'])]}" optional="show" + decoration-info="(not display_type and invoice_status == 'to invoice')" /> @@ -677,8 +678,12 @@