diff options
| author | Yannick Tivisse <yti@odoo.com> | 2018-09-20 16:13:11 +0200 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2018-09-20 16:19:24 +0200 |
| commit | b3fef6a72a0742f778eb57a33aa11c55dd214db1 (patch) | |
| tree | c1a9a6c62d93131e8a81ac9d041e61b8a1783aee /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 8a1030e162203aa1d957b52b38f7842a181f5f97 (diff) | |
[IMP] base: Order user's type groups by id
Purpose
=======
Traceback when following these steps:
- Install MRP
- Load French translations
- Set language to French
- Activate 'work orders' on MRP configuration
Error: The field 'sel_groups_9_10_1' doesn't exist.
This is because the only selection groups field on the res_users view
that doesn't have a transitive closure (the user's type Internal/Portal/Public)
is ordered by name.
1: Internal User
9: Portal
10: Public
becomes
9: Portail
10: Public
1: Utilisateur Interne
which lead to the traceback.
We should retrieve these groups ordered by 'id' to avoid the issue.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
