Vauxoo / odoo

Fork of Odoo (formerly OpenERP). [This project is not publically mantained just born for internal usage with some little patches] go to official repository on github.com/odoo/odoo
https://www.odoo.com
Other
9 stars 9 forks source link

[REF] base: Check user permission to write res.partner just if user #288

Closed moylop260 closed 5 years ago

moylop260 commented 5 years ago

Before this PR

If I change res.partner fields that doesn't affect res.user ones raise ACL error:

After this PR

If I change res.partner fields that doesn't affect res.user ones then allow it, but if a change affects users then raise ACL error: