d8d1eea44b9d9088dedde21650ace33e279d2078
Before this commit, on compiling the field, a search is done to find the label to link to the field. To do this search, the following field's attributes were used: the `id`, which is encoded on the arch of the view; if the `id` wasn't set, the `field_id`, which is an internal technical attribute, is used, and if neither of these were set, the 'name', which is also encoded on the arch, attribute is used. These attributes are compared with the content of the `for` attribute on the label. The issue with this, is that as the `field_id` is an internal technical attribute and could never be found on the view arch, neither on the content of the `for` attribute on the label. Leading to empty labels, or labels linked to the wrong fields. This principally occurs when two fields with the same name are found on the view. Now, only the `id` attribute and the `name` attribute, which both can be found on the view arch, are going to be used to search the correct label to link to it's corresponding fields. closes odoo/odoo#99399 Signed-off-by: Aaron Bohy (aab) <aab@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%