8108a60dc38432243bef4f934784b119c77cf91d
When a user accesses a PO through the portal thanks to an access token (without being connected), the product image on each order line is rendered using the image placeholder with a size of 48x48. This raises a 403 Forbidden at image retrieval since the access token is not passed as a parameter. This commit corrects that behavior by sending the resized image along with the rendering of the template instead of an url. Another solution could be to generalize the access token check to any model in: https://github.com/odoo/odoo/blob/12.0/odoo/addons/base/models/ir_http.py#L303-L311 But this seems overkill regarding this specific error. opw-1902741 closes odoo/odoo#28479
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, Purchase Management, ...
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.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%