3f413ca3dad0778f490d340fc74d18f81405090d
This fixes the problem of the full res_partner form being displayed instead of the simplified one in some cases (and vice-versa). The problem can be reproduced by the following steps: - launch odoo without xml dev_mode enabled (otherwise the cache is disabled) - in helpdesk, go to an existing ticket and click on an existing customer (this will load the full form for the customer into cache) - create a new ticket by first completing name and customer name, save it - complete the email address, save it - go to "Send message" and click on the email checkbox - the full form is loaded instead of the simplified one (base.view_partner_simple_form) It is also possible to get the simple form instead of the full form by reversing the order of the visited forms. Technical note: The problem has been fixed by adding the context key "force_email" as cache key using _get_view_cache_key override. Indeed, _get_view_cache uses _get_view which result depends on that context variable in its redefinition in res_partner. Task-3024050 Part-of: odoo/odoo#105111
…
…
…
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%