diff options
| author | Yannick Tivisse <yti@odoo.com> | 2017-08-17 11:16:21 +0200 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2017-08-17 11:16:21 +0200 |
| commit | 1651786340a16ced7cfecb227f82e51fb4ed576e (patch) | |
| tree | e182eea0b5427c6446df6f785d969065a526cbd4 /addons/web/static/src/js/widgets | |
| parent | fc1f00a7d02cd51068ead8216998ee60b5760af5 (diff) | |
[FIX] mail: Allow to recompute the res_model on a mail.follower after creation
Purpose
=======
Currently an employee can
- Create mail.followers
- Write on mail.follower if it is related to his own partner
When creating a record with followers (example: An expense sheet), the followers are created but the function fields are recomputed and stored on the table (if store=True).
In that particular case (Create: ok, Write: ko), this recomputation will trigger a write and then an access right error with a transaction rollback.
Specification
=============
Adding the `compute_sudo=True` attribute on the `res_model` field, the recomputation will be allowed for users at the record creation.
This fix doesn't imply to update the modules.
Diffstat (limited to 'addons/web/static/src/js/widgets')
0 files changed, 0 insertions, 0 deletions
