4c0840cac3a2557f226b40dffdaa228f12c0bd7c
For each form action, existing fields can be defined. These existing fields are references to objects in the ORM. It is possible to put a domain on the field in order to filter the elements you want. For example, the "Create an opportunity" action has a "Salesperson" field that refers to users. This field filters the external users of the company in order to have only the internal users. Unfortunately, although this domain is present, it was not taken into account when displaying the values for the field. This commit fixes this problem and takes into account the defined domain. Steps to reproduce the bug fixed by this commit: - Have the website_crm module installed - Put a form on a page of the website - Set the form action to "Create an Opportunity" - Add a new field - Set the field type to "Salesperson" => The list of users displayed contains external users of the company. task-3095745 closes odoo/odoo#121903 Signed-off-by: Benoit Socias (bso) <bso@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%