d4ed17f7ebde406f816d44961fa74d9a583473a8
**TO REPRODUCE** - open contacts - open a contact with a picture (for ex, douglas fletcher) - change the picture => new picture is displayed - click on cloud icon to force save => new picture is displayed - repeat: After repeating, the old picture will be displayed. **SOLUTION** Before this change, `getUrl` is bound to the rendering context instead of the component and it will write to the rendering context. This is introduced in this commit: https://github.com/odoo/owl/commit/df59ec49aefce2e0913fdc1792d42b9680fb28b6 The following excerpt from the mentioned commit explains: "A side-effect of this change is that now the rendering context is no longer the instance of the component by default, but is always an object with the component in its prototype chain." To make sure that `getUrl` is properly bound to the component, we should call it from the `this` of the rendering context. closes odoo/odoo#115857 Task-id: 3204546 X-original-commit: 05898cdaaf2dbf628665f3fa4c24769f7c424efe Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%