Skip to Content
Menú
This question has been flagged

Hello Odoovians,
We have some strange problem / misbehavior with our Odoo v17.
The setup is:
- Single company only, all users are assigned to (employees of) this company
- In the 'Settings' for 'Accounting', the 'Fiscal Country' is set to 'Germany (DE)'/'Deutschland (DE)'
- The fields in model 'l10n_de_reports.res_partner.ResPartner' (e.g. 'l10n_de_datev_identifier') require for visibility in the view: 'DE' in fiscal_country_codes -> should be right so, but the fields are still hidden
- In the Access Rights (given by User Group) are, as it seems by default, specific ones for this module and its fields (e.g. 'res_partner group_account_manager - Contact')

The strange behavior is:
- In 'Contacts' some users still can't see these fields in the 'Accounting' section of the 'Partner' forms - even if they have sufficient access rights in 'Accounting' by User Group ('Accountant')
- If we assign this Group 'Accounting - Accountant' to another/new user for debugging purposes, the fields are visible to this user however
- If we copy the Group 'Accounting - Accountant' (so, this copy should grant the same rights as the original) and assign the copied Group to the debug-user, the fields are not visible anymore

Questions are:
Is such erratic access rights behavior caused by code (aka complex dependencies/side effects of users' combination of rights/groups) - or by corrupted database (equal, but not identical entries / references messing up the checks)?
So, should we try to check the Access Rights of the affected users in detail - or sanitize the database?

Avatar
Descartar

"should we try to check the Access Rights of the affected users in detail" - yes

Related Posts Respostes Vistes Activitat
0
de març 24
2176
2
de gen. 25
2169
1
de febr. 23
2645
1
de des. 22
11163
1
d’ag. 22
2333