850f1317ed3b8b5db4e5634b9886668aa2cc8ac8
Before this commit, an empty line would be shown in the payment forms on the card of each payment acquirer whose `pre_msg` field was not empty. This is because displaying this HTML field in a form view and saving it causes the value `<p><br></p>` to be written on the field, even if it was left empty. The same issue occurred with the `pending_msg`, `auth_msg`, `done_msg`, and `cancel_msg` fields that are shown on the portal of some apps (Sales, Accounting...). With this commit, the value of these fields is tested before displaying them. If the value is `<p><br></p>`, the field is not displayed, hence avoiding to display a blank line. closes odoo/odoo#84755 X-original-commit: 808cc53bb02b0f1851a2a229bd5235a5fb944408 Signed-off-by: Antoine Vandevenne (anv) <anv@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%