Provide external ID field to unify external comunication with different systems.
Project description
This addon provides a mixin to be used to provide an external ID field on all the models managed via REST API. This way we’ll be able to reference this models on other systems without having to use the internal ID used on odoo.
Usage
Once using a model on rest api we’ll make it inherit from our mixin.
For example while using res.parter
class ResPartner(models.Model):
_name = "res.partner"
_inherit = ["res.partner", "external.id.mixin"]
Changelog
12.0.1.0.0
First official version.
Bug Tracker
Bugs are tracked on GitLab Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.
Credits
Based on the initial work of Robin Keunen <robin@coopiteasy.be> for easy_my_coop_api module. Trying to decople this functionallity from easy_my_coop vertical-cooperative infraestructure.
Contributors
Robin Keunen <robin@coopiteasy.be>
Dani Quilez <dani.quilez@coopdevs.org>
Maintainers
This module is maintained by Coopdevs Treball SCCL.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file odoo12_addon_base_rest_external_id-12.0.1.0.2-py3-none-any.whl
.
File metadata
- Download URL: odoo12_addon_base_rest_external_id-12.0.1.0.2-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 976bde00df6b7ea284569948e90b9310a6605ec88819d855d7add9f033cd3675 |
|
MD5 | 020456ff051e96aa6ef8c6bd1dbc518e |
|
BLAKE2b-256 | 823f022d42047ab583636ea690c21f4e9b47c039b72db47fb95865277314090d |