diff --git a/addons/sale/static/description/icon.png b/addons/sale/static/description/icon.png deleted file mode 100644 index 343c9f7e065..00000000000 Binary files a/addons/sale/static/description/icon.png and /dev/null differ diff --git a/addons/sale/static/description/icon.svg b/addons/sale/static/description/icon.svg deleted file mode 100644 index 97a19c021dc..00000000000 --- a/addons/sale/static/description/icon.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/addons/sale/static/src/js/tour.js b/addons/sale/static/src/js/tour.js index 8b82c091cee..2e6639cf6d3 100644 --- a/addons/sale/static/src/js/tour.js +++ b/addons/sale/static/src/js/tour.js @@ -10,12 +10,12 @@ tour.register('sale_tour', { url: "/web", }, [tour.STEPS.SHOW_APPS_MENU_ITEM, { trigger: '.o_app[data-menu-xmlid="sale.sale_menu_root"]', - content: _t('Organize your sales activities with the Sales Management app.'), + content: _t('Open Sales app to send your first quotation in a few clicks.'), position: 'right', edition: 'community' }, { trigger: '.o_app[data-menu-xmlid="sale.sale_menu_root"]', - content: _t('Organize your sales activities with the Sales Management app.'), + content: _t('Open Sales app to send your first quotation in a few clicks.'), position: 'bottom', edition: 'enterprise' }, { @@ -24,13 +24,11 @@ tour.register('sale_tour', { content: _t("Let's create a new quotation.
Note that colored buttons usually point to the next logical actions."), position: "bottom", }, { - trigger: ".o_form_editable .o_field_many2one[name='partner_id']", + trigger: ".o_form_editable .o_field_many2one[name='partner_id'] input", extra_trigger: ".o_sale_order", content: _t("Write the name of your customer to create one on the fly, or select an existing one."), position: "bottom", - run: function (actions) { - actions.text("Agrolait", this.$anchor.find("input")); - }, + run: 'text Agrolait' }, { trigger: ".ui-menu-item > a", auto: true, @@ -41,13 +39,11 @@ tour.register('sale_tour', { content: _t("Click here to add some products or services to your quotation."), position: "bottom", }, { - trigger: ".o_form_editable .o_field_many2one[name='product_id']", + trigger: ".o_form_editable .o_field_many2one[name='product_id'] input", extra_trigger: ".o_sale_order", content: _t("Select a product, or create a new one on the fly."), position: "right", - run: function (actions) { - actions.text("Chair", this.$anchor.find("input")); - }, + run: 'text DESK0001' }, { trigger: ".ui-menu-item > a", auto: true, diff --git a/addons/sale/views/sale_views.xml b/addons/sale/views/sale_views.xml index 3abaf475dcc..47a44c89547 100644 --- a/addons/sale/views/sale_views.xml +++ b/addons/sale/views/sale_views.xml @@ -4,7 +4,7 @@ diff --git a/addons/sale_management/static/description/icon.png b/addons/sale_management/static/description/icon.png index 87fbb5a7784..343c9f7e065 100644 Binary files a/addons/sale_management/static/description/icon.png and b/addons/sale_management/static/description/icon.png differ diff --git a/addons/sale_management/static/description/icon.svg b/addons/sale_management/static/description/icon.svg index 3531f448e49..97a19c021dc 100644 --- a/addons/sale_management/static/description/icon.svg +++ b/addons/sale_management/static/description/icon.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file