Commit Graph
20 Commits
Author SHA1 Message Date
David Beguin 29db699e9b [IMP] auth_top, *: revamp Two-factor authentication flow
Purpose
=======

Review the UX of the 2-factor authentication flow in order to make it more clear
and easy to use.

Specifications
==============

This commit applies multiple rewording of instructions, button, etc. Tests have
been adapted accordingly.

It also adds an 'invite to use two-factor authentication' flow that will
send an email to the selected used to redirect them their account security
settings.
- If portal is not installed yet, the user is redirected to his account security
settings in backend.
- If portal is installed, the user is redirected to /my/profile if them are
portal user. Otherwise, the redirection is still done at backend side.

As the backend view of auth_totp wizard is used at frontend side, copyclipboard
widget has to be rebuilt at frontend side (click event, style etc..).

As API key section is now displayed only on debug mode, test urls have been
adapted accordingly.

Task-2487630

Part-of: odoo/odoo#71142
2021-08-30 21:05:12 +00:00
Martin Trigaux abc04a9f18 [IMP] base_setup: avoid call to ir.model.data
Can retrieve the action from _action_show
2021-08-10 13:49:04 +02:00
Sébastien Theys c6716847aa [IMP] web, *: clean up notification API
task-2476867

closes odoo/odoo#67009

Related: odoo/enterprise#16760
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2021-05-27 13:47:23 +00:00
Julien Mougenot c4786fccfd [IMP] *: update notifications to optional title
closes odoo/odoo#52826

Related: odoo/enterprise#11084
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2020-06-12 09:01:50 +00:00
jbm-odoo 7411c4e8ab [IMP] res_settings: Change icon for documentation link
Change icon for documentation link to fa-question-circle in green.

Task ID 2226026

closes odoo/odoo#48469

Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-03-27 07:01:28 +00:00
Lucas Lefèvre bd2e82b504 [FIX] base_setup: Add DOM id to license link
With Odoo Enterprise Edition, the license is still GNU LGPL.
A DOM id is added here to allow targeting the license link in `web_enterprise`

Task 2198484

closes odoo/odoo#46263

Related: odoo/enterprise#8776
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-02-25 14:32:39 +00:00
Rémy Baranx (bar) bbd4391c15 [IMP] various: update of documentation links in res.config
Purpose
=======

- Change the font-awesome icon from fa-book to fa-question.
- Change the icon color to text-secondary (the same than the multi-company
  icon).
- Adjust the icon size to the uppercase text size.

closes odoo/odoo#47210

Taskid: 2209062
Related: odoo/enterprise#9116
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-03-18 09:53:15 +00:00
Olivier Dony 39018e7515 [FIX] base_setup: show demo data button only in debug mode
During the port to 13.0 and the new Settings dashboard,
the "Load demo data" button visibility condition was reversed.

Cfr #34290 or https://github.com/odoo/odoo/pull/34290/files#diff-e5df7b873d03867c9527da957b762802L131

closes odoo/odoo#44587

X-original-commit: 61b7d53731623db42896f61a4c2772761d7892de
Signed-off-by: Christophe Simonis <chs@odoo.com>
2020-02-04 12:27:09 +00:00
Barad Mahendra 7420e6041e [FIX] base_setup: load demo data does not works
While moving web_settings_dashboard to base_setup in
commit: https://github.com/odoo/odoo/commit/78565b1dc933692abba46a73f2298b7ea8e03c88#diff-2ac1c5a222c5332be62450c099440fd6L292
the load demo data click event was missing.

so added event to load the demo data in base_setup.

Task-2062477

closes odoo/odoo#36275

Closes: #36275
Signed-off-by: Romain Libert (rli) <rli@odoo.com>
2019-08-30 10:58:03 +00:00
Rémi Rahir 52c6a060d6 [FIX] base_setup: allow extension of the edition widget
The refactoring of the settings in a0c34138f88c4eb5d8a86340df55bbc091c5a252
did not properly take the enterprise edition into account. In
particular, we had lost the information about the expiration date.

This commit adds that information in community as the alternative would
be to extend the widget ResConfigEdition in web_enterprise which would
imply an explicit dependency between web_enterprise and base_setup and
we would like to avoid that situation.

closes odoo/odoo#36114

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2019-08-28 10:35:09 +00:00
jbm-odoo 839696d2d7 [IMP] settings: Fix Improve general UX (back2basics)
closes odoo/odoo#35710

Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-08-14 08:42:51 +00:00
jbm-odoo 853a773ee4 [IMP] settings: Improve general UX (back2basics)
TaskID: 2043133

closes odoo/odoo#35382

Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-08-13 12:32:30 +00:00
aca 78565b1dc9 [REM] web_settings_dashboard: Merge module into base_setup
Purpose
=======

Currently, when we click on “Settings” on the Home Dashboard, we arrive
on a new Dashboard with several pieces of information like Installed Apps,
invite new users, or translations. Some informations are reachable in
several ways, which is not necessary.

We would like to remove this page and replace it with the General Settings
page directly. That makes more sense to the user who click on “Settings”. The
present informations will be dispatched in the menu or in the general settings
for a better usability.

Specification
=============

This commit move code from web_settings_dashboard in order to put the features
in settings directly. To do so, we choose to move code to base_setup, and create
widget on the settings form view to keep features. Concerned features are: invite
users, dev tools, odoo edition number and IAP account link.

TaskID: 2006910

closes odoo/odoo#34290

Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-07-26 09:53:46 +00:00
qsm-odoo 09b0ced258 [IMP] base_setup, web: oe_form_configuration rules
* Remove useless css rules
* Move useful ones in web
2015-08-11 14:31:10 +02:00
Christophe Matthieu 9ab1f35de5 [IMP]base_setup: kanban view with .oe_kanban_list_many2many method
bzr revid: chm@openerp.com-20120911112519-agdudw6g0lk156mc
2012-09-11 13:25:19 +02:00
niv-openerp 65f532e001 [IMP] made a whole-application replace of $element by $el
bzr revid: nicolas.vanhoren@openerp.com-20120824182743-1d9cii7kigc7exer
2012-08-24 20:27:43 +02:00
Antonin Bourguignon 7b86d3a89f [IMP] layout: separate .oe_link from the rest of the text, making them easier to spot
to do so, .eo_link elements are now preceded with a long dash (em dash)
to apply this layout to other elements than .eo_link, wrap it in a span and give it the class .oe_separate-from-text

bzr revid: abo@openerp.com-20120801175443-vyo9t1gzyakr250t
2012-08-01 19:54:43 +02:00
Antonin Bourguignon 8f1eb6a22c [IMP] set a normal font-weight for labels in config wizards
this CSS rule will only apply inside elements with the class "oe_form_configuration" (<elmt class="oe_form_configuration">)

bzr revid: abo@openerp.com-20120731163056-ctxf9z70joanxqez
2012-07-31 18:30:56 +02:00
Raphael Collet 3a048c7414 [IMP] base_setup: in partner kanban view, use name_get to display partner categories
bzr revid: rco@openerp.com-20120724143815-s0zi90n8m8ptnm0v
2012-07-24 16:38:15 +02:00
Raphael Collet 127d09181a [FIX] add partner categories in partner kanban view
It must be done outside module 'base' because some javascript is needed,
and that introduces some dependency on module 'web_kanban'.

bzr revid: rco@openerp.com-20120720132238-7044u13lbxau9x4i
2012-07-20 15:22:38 +02:00