Before this change, the result of the export of a relational field was always a dict or a list of dict.
ex:
<record id="ir_exp_shopinvader_variant_lang" model="ir.exports.line">
<field name="name">publication_language_id/name</field>
<field name="alias">publication_language_id/name:lang</field>
<field name="export_id" ref="shopinvader.ir_exp_shopinvader_variant" />
</record>
will output:
{
...
"publication_language_id" : {
"lang": "French"
}
...
}
After this change it's now possible to define simple exporter for relational fields where the value into the result will be the display_name or a list of display_name of the related records.
ex:
<record id="ir_exp_shopinvader_variant_lang" model="ir.exports.line">
<field name="name">publication_language_id</field>
<field name="alias">publication_language_id:lang</field>
<field name="export_id" ref="shopinvader.ir_exp_shopinvader_variant" />
</record>
will output:
{
"lang": "French"
}
(Cherry-pick of
|
||
---|---|---|
.github/workflows | ||
auditlog | ||
base_exception | ||
base_fontawesome | ||
base_jsonify | ||
base_m2m_custom_field | ||
base_view_inheritance_extension | ||
iap_alternative_provider | ||
module_change_auto_install | ||
setup | ||
upgrade_analysis | ||
.copier-answers.yml | ||
.editorconfig | ||
.eslintrc.yml | ||
.flake8 | ||
.gitignore | ||
.isort.cfg | ||
.pre-commit-config.yaml | ||
.prettierrc.yml | ||
.pylintrc | ||
.pylintrc-mandatory | ||
LICENSE | ||
README.md | ||
requirements.txt | ||
test-requirements.txt |
README.md
server-tools
TODO: add repo description.
Available addons
addon | version | maintainers | summary |
---|---|---|---|
auditlog | 16.0.2.0.0 | Audit Log | |
base_exception | 16.0.1.0.1 | ![]() ![]() |
This module provide an abstract model to manage customizable exceptions to be applied on different models (sale order, invoice, ...) |
base_fontawesome | 16.0.5.15.4 | Up to date Fontawesome resources. | |
base_m2m_custom_field | 16.0.1.0.0 | Customizations of Many2many | |
base_view_inheritance_extension | 16.0.1.0.0 | Adds more operators for view inheritance | |
iap_alternative_provider | 16.0.1.0.0 | ![]() |
Base module for providing alternative provider for iap apps |
module_change_auto_install | 16.0.1.0.0 | ![]() |
Customize auto installables modules by configuration |
upgrade_analysis | 16.0.1.0.0 | ![]() ![]() |
Performs a difference analysis between modules installed on two different Odoo instances |
Licenses
This repository is licensed under AGPL-3.0.
However, each module can have a totally different license, as long as they adhere to Odoo Community Association (OCA)
policy. Consult each module's __manifest__.py
file, which contains a license
key
that explains its license.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.