odoo14-addon-edi-record-metadata-oca


Nameodoo14-addon-edi-record-metadata-oca JSON
Version 14.0.1.2.0 PyPI version JSON
download
home_pagehttps://github.com/OCA/edi-framework
SummaryAllow to store metadata for related records.
upload_time2023-08-10 14:24:13
maintainer
docs_urlNone
authorCamptocamp, Odoo Community Association (OCA)
requires_python>=3.6
licenseLGPL-3
keywords
VCS
bugtrack_url
requirements PyYAML xmlschema
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ===================
EDI record metadata
===================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
    :target: https://odoo-community.org/page/development-status
    :alt: Alpha
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
    :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
    :alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi--framework-lightgray.png?logo=github
    :target: https://github.com/OCA/edi-framework/tree/14.0/edi_record_metadata_oca
    :alt: OCA/edi-framework
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/edi-framework-14-0/edi-framework-14-0-edi_record_metadata_oca
    :alt: Translate me on Weblate

|badge1| |badge2| |badge3| |badge4| 

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.

.. IMPORTANT::
   This is an alpha version, the data model and design can change at any time without warning.
   Only for development or testing purpose, do not use in production.
   `More details on development status <https://odoo-community.org/page/development-status>`_

**Table of contents**

.. contents::
   :local:

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 <https://github.com/OCA/edi-framework/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 <https://github.com/OCA/edi-framework/issues/new?body=module:%20edi_record_metadata_oca%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Camptocamp

Contributors
~~~~~~~~~~~~

* Simone Orsi <simone.orsi@camptocamp.com>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
   :alt: Odoo Community Association
   :target: https://odoo-community.org

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.

.. |maintainer-simahawk| image:: https://github.com/simahawk.png?size=40px
    :target: https://github.com/simahawk
    :alt: simahawk

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-simahawk| 

This module is part of the `OCA/edi-framework <https://github.com/OCA/edi-framework/tree/14.0/edi_record_metadata_oca>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/OCA/edi-framework",
    "name": "odoo14-addon-edi-record-metadata-oca",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "",
    "author": "Camptocamp, Odoo Community Association (OCA)",
    "author_email": "support@odoo-community.org",
    "download_url": "",
    "platform": null,
    "description": "===================\nEDI record metadata\n===================\n\n.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n   !! This file is generated by oca-gen-addon-readme !!\n   !! changes will be overwritten.                   !!\n   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n\n.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png\n    :target: https://odoo-community.org/page/development-status\n    :alt: Alpha\n.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png\n    :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html\n    :alt: License: LGPL-3\n.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi--framework-lightgray.png?logo=github\n    :target: https://github.com/OCA/edi-framework/tree/14.0/edi_record_metadata_oca\n    :alt: OCA/edi-framework\n.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png\n    :target: https://translation.odoo-community.org/projects/edi-framework-14-0/edi-framework-14-0-edi_record_metadata_oca\n    :alt: Translate me on Weblate\n\n|badge1| |badge2| |badge3| |badge4| \n\nTechnical module for the EDI suite to provide a way to store some technical data.\n\nFor instance, you receive a sale order via EDI and you want to store some original values from the incoming file\nwithout having to parse again the whole file or compute values that you need later to compite something else.\n\n.. IMPORTANT::\n   This is an alpha version, the data model and design can change at any time without warning.\n   Only for development or testing purpose, do not use in production.\n   `More details on development status <https://odoo-community.org/page/development-status>`_\n\n**Table of contents**\n\n.. contents::\n   :local:\n\nUsage\n=====\n\nGet / set metadata\n~~~~~~~~~~~~~~~~~~\n\nOn a `edi.exchange.record`:\n\n    exc_record.set_metadata({...})\n    exc_record.get_metadata()\n\n\nAutomatically store metadata from consumer records\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n* Make sure your model inherits from `edi.exchange.consumer.mixin`\n* Override `_edi_get_metadata_to_store`\n\nNOTE: automatic storage happens only when `create` gets called in an EDI framework session (`edi_framework_action` is in ctx).\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues <https://github.com/OCA/edi-framework/issues>`_.\nIn case of trouble, please check there if your issue has already been reported.\nIf you spotted it first, help us smashing it by providing a detailed and welcomed\n`feedback <https://github.com/OCA/edi-framework/issues/new?body=module:%20edi_record_metadata_oca%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.\n\nDo not contact contributors directly about support or help with technical issues.\n\nCredits\n=======\n\nAuthors\n~~~~~~~\n\n* Camptocamp\n\nContributors\n~~~~~~~~~~~~\n\n* Simone Orsi <simone.orsi@camptocamp.com>\n\nMaintainers\n~~~~~~~~~~~\n\nThis module is maintained by the OCA.\n\n.. image:: https://odoo-community.org/logo.png\n   :alt: Odoo Community Association\n   :target: https://odoo-community.org\n\nOCA, or the Odoo Community Association, is a nonprofit organization whose\nmission is to support the collaborative development of Odoo features and\npromote its widespread use.\n\n.. |maintainer-simahawk| image:: https://github.com/simahawk.png?size=40px\n    :target: https://github.com/simahawk\n    :alt: simahawk\n\nCurrent `maintainer <https://odoo-community.org/page/maintainer-role>`__:\n\n|maintainer-simahawk| \n\nThis module is part of the `OCA/edi-framework <https://github.com/OCA/edi-framework/tree/14.0/edi_record_metadata_oca>`_ project on GitHub.\n\nYou are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.\n\n\n",
    "bugtrack_url": null,
    "license": "LGPL-3",
    "summary": "Allow to store metadata for related records.",
    "version": "14.0.1.2.0",
    "project_urls": {
        "Homepage": "https://github.com/OCA/edi-framework"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0e449cb69553b83e14f3fb896c5ba3502624daaf124e75f90b5b17e9036d1f6c",
                "md5": "359525f75bcba3878018f2e0491d4008",
                "sha256": "cb1bb93c660ba8e0609245d6f00d75925e0300b805c56a1dca5924e58f520a03"
            },
            "downloads": -1,
            "filename": "odoo14_addon_edi_record_metadata_oca-14.0.1.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "359525f75bcba3878018f2e0491d4008",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 27029,
            "upload_time": "2023-08-10T14:24:13",
            "upload_time_iso_8601": "2023-08-10T14:24:13.382406Z",
            "url": "https://files.pythonhosted.org/packages/0e/44/9cb69553b83e14f3fb896c5ba3502624daaf124e75f90b5b17e9036d1f6c/odoo14_addon_edi_record_metadata_oca-14.0.1.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-10 14:24:13",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "OCA",
    "github_project": "edi-framework",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "PyYAML",
            "specs": []
        },
        {
            "name": "xmlschema",
            "specs": []
        }
    ],
    "lcname": "odoo14-addon-edi-record-metadata-oca"
}
        
Elapsed time: 1.36417s