Allow to store metadata for related records.
Project description
Technical module for the EDI suite to provide a way to store some technical data.
For instance, you receive a sale order via EDI and you want to store some original values from the incoming file without having to parse again the whole file or compute values that you need later to compite something else.
Table of contents
Usage
Get / set metadata
On a edi.exchange.record:
exc_record.set_metadata({…}) exc_record.get_metadata()
Automatically store metadata from consumer records
Make sure your model inherits from edi.exchange.consumer.mixin
Override _edi_get_metadata_to_store
NOTE: automatic storage happens only when create gets called in an EDI framework session (edi_framework_action is in ctx).
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
Simone Orsi <simone.orsi@camptocamp.com>
Duong (Tran Quoc) <duongtq@trobz.com>
Other credits
The migration of this module from 14.0 to 16.0 was financially supported by Camptocamp.
Maintainers
This module is maintained by the OCA.
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.
Current maintainer:
This module is part of the OCA/edi-framework project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
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 odoo_addon_edi_record_metadata_oca-16.0.1.0.0.6-py3-none-any.whl
.
File metadata
- Download URL: odoo_addon_edi_record_metadata_oca-16.0.1.0.0.6-py3-none-any.whl
- Upload date:
- Size: 28.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fe7acadb5e46fdd7a22cc026e72943ae83bff39dc0336ee571014cbb32c084f |
|
MD5 | d284c02eb572980de539335dab84387c |
|
BLAKE2b-256 | b383f40c67d017c4fcf8d63c1804ef3c889c439fcc290da1472786bdd4895d33 |