f2d3a193c2df1b4005ae1ae1c3b0b30ba650e590
Since [this other commit], the recipient email option of the form on the `/contactus` page is not filled correctly with the company email. By chance, the form signature task fixed the bug but introduced another one. The previous commit fixed the bug introduced by the form signature task but reintroduced the inital bug. This commit fixes the initial bug and adds a test. By default, the form on the `/contactus` page sends emails to the email address of the company. Unfortunately, before this commit, when a user entered edit mode, the Recipient E-mail option always displayed "info@yourcompany.example.com" even when the company's e-mail address was different. This commit corrects this by displaying the dynamic value of `company.email` in the Recipient E-mail option coming from the data-for. Steps to reproduce the issue fixed by this commit: - Go to Settings > General Settings - Update the company's email address - Go to /contactus and edit - Click on the form => The recipient email value is still "info@yourcompany.example.com" instead of the company's email address. This commit fixes the issue, adds a test to ensure the recipient email option is correct and adds a utility to parse the data-for data. Bonus: this commit also fixes the following issue catched by sentry: - Go to /contactus - Click on Edit - In the Form option, remove the content of the 'Recipient Email' field. - Save - Fill and submit the form => An error is generated in the log. [this other commit]: https://github.com/odoo/odoo/commit/043e1fdf923d2037dd8da128ab99388f0c92e544 task-3382195 sentry-4633940473 closes odoo/odoo#147933 X-original-commit: 56f6b8dccec5cebc9a93454538b39886d4d3f63c Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com> Signed-off-by: Guillaume Dieleman (gdi) <gdi@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%