summaryrefslogtreecommitdiff
path: root/odoo/addons
diff options
context:
space:
mode:
authorAdrien Dieudonne <adr@odoo.com>2020-02-27 13:14:15 +0000
committerAdrien Dieudonne <adr@odoo.com>2020-03-03 08:09:49 +0000
commit464968de36df259ddf03e56e259f7fb17a2dc5b9 (patch)
tree4e50bf08cd4574a766f56cad425a593d09d94612 /odoo/addons
parent39c4d122a21904cf6852419028204c0d8a2f587f (diff)
[FIX] account, hr_expense: amounts on multiple lines in the dashboard
Before this commit, the amount currency could be wrapped on a second line (on mobile). To fix this, we had to find a way to have more space: - Buttons are now displayed at the top (mobile only). - Amounts can grow (col-auto) and the other column will take the space left (col) and add "..." when there is not enough space. (mobile + desktop) We also had to remove a button from a div tag in order to display the buttons next to each other on mobile (buttons are "inline-block" but div is a "block"). The main flow tour has been adapted accordingly and the typo has been fixed too... closes odoo/odoo#46680 Task-id: 2184243 X-original-commit: 159e3d4cb8a301c908f7718a56138528033e75d4 Related: odoo/enterprise#8963 Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
Diffstat (limited to 'odoo/addons')
-rw-r--r--odoo/addons/test_main_flows/static/tests/tours/main_flow.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/addons/test_main_flows/static/tests/tours/main_flow.js b/odoo/addons/test_main_flows/static/tests/tours/main_flow.js
index 26800770c3e..e32a70ace08 100644
--- a/odoo/addons/test_main_flows/static/tests/tours/main_flow.js
+++ b/odoo/addons/test_main_flows/static/tests/tours/main_flow.js
@@ -692,7 +692,7 @@ tour.register('main_flow_tour', {
position: 'bottom',
}, {
edition: "enterprise",
- trigger: 'div[name=bank_journal_cta] > button[data-name=action_cofigure_bank_journal], div[name=bank_journal_cta] > button[data-name=action_configure_bank_journal]',
+ trigger: 'button[data-name=action_configure_bank_journal]',
content: _t('Configure Bank Journal'),
position: 'bottom',
}, {