diff options
| author | Julien Castiaux <juc@odoo.com> | 2019-08-27 11:11:10 +0000 |
|---|---|---|
| committer | Julien Castiaux <juc@odoo.com> | 2019-08-27 11:11:10 +0000 |
| commit | 24c92d8b950ec6ef457e4dc7be7c3a59edf607dd (patch) | |
| tree | 7045119c11f3ab26ece5ab8525841ec785ed3218 /odoo/modules/module.py | |
| parent | c3ebc0b9872c86ae2011bd71ae5d3b3ea97ad1ab (diff) | |
[FIX] account: move group visible search to inherited view
Make sure your user does not have the "Analytic Accounting" group,
access the Invoices Management Report, traceback.
The problem is linked to groups. When they are used on model field, the
field is removed by the ORM. When they are used in view field, the field
is set as invisible. As both fields were restricted to the group, the
frontend was trying to render an invisible field using a removed field
causing the traceback.
The problematic field has been moved to a dedicated inherited view with
the group applied on the entire view. This cause the field not to be
rendered when the user does not have the group.
closes odoo/odoo#36122
Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
Diffstat (limited to 'odoo/modules/module.py')
0 files changed, 0 insertions, 0 deletions
