diff options
| author | Nasreddin (bon) <bon@odoo.com> | 2020-08-12 13:34:55 +0000 |
|---|---|---|
| committer | Nasreddin (bon) <bon@odoo.com> | 2020-08-13 16:22:18 +0000 |
| commit | a137f22363ff538ab86f50d15851730af1b8ed76 (patch) | |
| tree | 1aad324f4b4d95238d24b9ea9cbc41f830186b18 /addons/web/static/src/js/views/pivot/pivot_controller.js | |
| parent | c5fee9d009329691db58a16c1f90eac734749f4d (diff) | |
[FIX] web_editor: Multi-company error when adding image to task description
Issue
- Select "My Company (Chicago)" as current company
- Open "Projects" module
- Create a new Task
- Edit description, upload a new Image and add it to description.
Multi-company error "Write" on project.task .
In frontend, can optimize uploaded picture.
Causes
Wrong "allowed_company_ids" value in context.
Solution
Remove allowed companies from context to avoid allowed_company_ids
which may erroneously restrict based on website.
opw-2304511
closes odoo/odoo#55897
X-original-commit: 8f6506a57853040d065569fdd60f9d94be8e26e1
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Signed-off-by: bon-odoo <nboulif@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/pivot/pivot_controller.js')
0 files changed, 0 insertions, 0 deletions
