145540921f2629ae188c84dee17c8d95dccdde16
Before this commit, there was a hack done in Field.js to handle a special case of the Many2ManyTagsField which sometimes require an additional "color" field to be fetched. This field is given in option on the many2many field, in the arch. It wasn't possible for the Many2ManyTags field to add that field on its "FieldToFetch", because this object was static (it didn't depend on the arch). This commit allows it to do so as FieldsToFetch can now be a function that receives the fieldInfo (extracted from the arch) in arguments. So with this commit, fieldsToFetch can be either an array of fields (instead of an object as before), or a function returning an array of fields. Part of task 3179751 closes odoo/odoo#112518 Related: odoo/enterprise#37020 Signed-off-by: Georis François (fge) <fge@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%