66f886e4808fa9ba1f42beb1b5ab3d43d0bf2ba2
Field name on sponsor are not required. So when we display the image of a sponsor without field-name it will use the rec_name 'name' that is not set and so False. It will crash during rendering of the widget image that use it. Now we force to use a field required 'partner_name' to avoid the crash. By default, when you confirm the sale_order from the backend, we copy the partner name in field name. Because we use a class avatar to have a max-width of 96, we don't need to use a image_512, image_128 is enough in most of case. The max-width option on widget image has no effect on rendering. In other case where the rec_name is Falsy and we don't provide other name to the widget, we now use a default 'name' value to avoid a crash: closes odoo/odoo#88296 Attributeerror: 'bool' object has no attribute 'replace' X-original-commit: b054dfc715afb225eb032a722ec58e6888b1b905 Signed-off-by: Jérémy Kersten <jke@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%