summaryrefslogtreecommitdiff
path: root/odoo/addons/test_main_flows/static/src
diff options
context:
space:
mode:
authorAlexandre Kühn <aku@odoo.com>2017-11-24 08:33:01 +0100
committerAlexandre Kühn <alex.e.kuhn@gmail.com>2018-01-18 21:43:29 +0100
commita87d761fdbf345ada5dc93e0a686b08a0f5a0417 (patch)
treed23be6ea90567a7ede9b4dc8c1ab33144835ca80 /odoo/addons/test_main_flows/static/src
parent1f1c5f62c7322980ef60650d719d6efe2eeb4e1d (diff)
[IMP] core: menu tip ux/ui improvement
We would like to make the "no item found" screens more appealing. Before this commit, it shows a small help tip in the top-left corner of the screen, just below the "Create" button. With this commit, these help tips have been replaced by onboarding screens, which consist of a picture and some text below, both of which are horizontally centered. The texts have been slightly changed, so that they are shorter and clearer. Considered modules: (A) account, account_asset, account_budget, account_test, account_voucher, analytic (B) barcodes, base, base_automation, board (C) calendar, contacts, crm (D) delivery (E) event (F) fleet (G) gamification, google_drive (H) hr, hr_attendance, hr_contract, hr_expense, hr_gamification, hr_holidays, hr_payroll, hr_recruitment, hr_timesheet (I) im_livechat (L) l10n_fr_sale_closing, link_tracker, lunch (M) mail, maintenance, mass_mailing, membership, mrp (N) note (P) payment, point_of_sale, post_mercury, pos_restaurant, product, project, purchase, purchase_requisition (R) rating, repair, resource (S) sale, sale_timesheet, sales_team, stock, stock_account, stock_landed_costs, stock_picking_batch, survey (U) utm (W) web, website, website_blog, website_customer, website_event_track, website_forum, website_quote, website_sale, website_sale_digital, website_slides
Diffstat (limited to 'odoo/addons/test_main_flows/static/src')
-rw-r--r--odoo/addons/test_main_flows/static/src/js/tour.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/odoo/addons/test_main_flows/static/src/js/tour.js b/odoo/addons/test_main_flows/static/src/js/tour.js
index b59aaff1d5c..df19f6c2df3 100644
--- a/odoo/addons/test_main_flows/static/src/js/tour.js
+++ b/odoo/addons/test_main_flows/static/src/js/tour.js
@@ -28,7 +28,7 @@ tour.register('main_flow_tour', {
trigger: '.o-kanban-button-new',
extra_trigger: '.o_kanban_view',
content: _t('Let\'s create your first product.'),
- position: 'right',
+ position: 'bottom',
}, {
trigger: 'input[name=name]',
extra_trigger: '.o_form_sheet',
@@ -68,7 +68,7 @@ tour.register('main_flow_tour', {
}, {
trigger: ".o_list_button_add",
content: _t("Let's create a new bill of material"),
- position: "right",
+ position: "bottom",
}, {
// Add first component
trigger: ".o_field_x2many_list_row_add > a",
@@ -195,7 +195,7 @@ tour.register('main_flow_tour', {
trigger: '.o-kanban-button-new',
extra_trigger: '.o_kanban_view',
content: _t('Let\'s create your second product.'),
- position: 'right',
+ position: 'bottom',
}, {
trigger: 'input[name=name]',
extra_trigger: '.o_form_sheet',
@@ -246,7 +246,7 @@ tour.register('main_flow_tour', {
trigger: ".o-kanban-button-new",
extra_trigger: '.o_opportunity_kanban',
content: _t("Click here to <b>create your first opportunity</b> and add it to your pipeline."),
- position: "right"
+ position: "bottom"
}, {
trigger: ".modal-body input:first",
content: _t("Enter the opportunity title."),