diff options
| author | Nans Lefebvre <len@odoo.com> | 2019-02-04 08:21:27 +0000 |
|---|---|---|
| committer | Nans Lefebvre <len@odoo.com> | 2019-02-04 09:09:49 +0000 |
| commit | 174611279442c4f1f30be8c676f0d65404bf042b (patch) | |
| tree | 2f7c8bbb6cb50acada6fc4f37fb57ed1322ee4df /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | c189a7c37ec753958d56376d9eb8eaac7bf8fab0 (diff) | |
[FIX] purchase: fix mail templates for multi-company use
Activate multi-company, deactivate the common contact book.
Create a PO P with user U1 in company A. Switch to company B.
User U2 in company A tries to send P by email.
Rendering of the template fails, because it tries to access object.create_uid,
which breaks multi-company record rules.
We add a sudo in the template so that it works as intended.
opw 1930521
closes odoo/odoo#30789
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
