71d90f15b92c7c7ca19eee44e4bc02a24413ab23
create_name_field option of many2one field component
Purpose: ======== The `create_name_field` option of many2one fields in form views does not work: when setting it, the value entered in the many2one field is copied in the default `name` field, instead of in the field set, when clicking on the "Create and Edit" button. This is because an incorrect prop is used: the many2one component uses a prop named `createNameField` for that purpose, but passes a prop called `nameCreateField` to the Many2XAutocomplete component. This commit renames the `createNameField` prop of the many2one field to `nameCreateField`, to match the prop used in many2many_tags_field and in Many2XAutocomplete. Task-3113954 X-original-commit: c0ff0824d964cd702470076d31c066c5443ce9ca Part-of: odoo/odoo#110474
…
…
…
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%