summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorJorge Pinna Puissant <jpp@odoo.com>2018-12-13 08:05:26 +0000
committerJorge Pinna Puissant <jpp@odoo.com>2018-12-14 09:23:10 +0000
commit9d0d5b6e8ccdd2e19612069ba57b851655ea3014 (patch)
tree18104a92749a5c52678821eda0b8b7a0b3e57cf3 /addons/web/static/src/js/views/basic
parent5f4a9451828fff1919c74e421001bc111c5c138d (diff)
[FIX] account: change accounting plan access
opw-1916511 When you try to change the accounting plan it sets off an access error. To change the accounting plan it must delete and create some records in the model 'ir.property' and none of the current security groups have access to do it. This issue was not present in the version 11.0 because in that version the administrator was also the super-user. In version 12.0 the administrator and the super-user were dissociated. This was changed to level-up (sudo) the rights of the administrator when the ir.property are deleted. Note that, this fonction have two pre-existing constraints to avoid issues when configuring an accounting plan: it can only be changed if there are not alredy existings accounting entries; and only the administrator can change it. closes odoo/odoo#29493
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions