odoo-addon-base-binary-url-import


Nameodoo-addon-base-binary-url-import JSON
Version 16.0.1.0.0.7 PyPI version JSON
download
home_pagehttps://github.com/OCA/server-ux
SummaryWizard to import binary files from URL on existing records
upload_time2023-11-12 06:50:56
maintainer
docs_urlNone
authorCamptocamp, Odoo Community Association (OCA)
requires_python>=3.10
licenseAGPL-3
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ======================
Base Binary URL Import
======================

.. 
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! source digest: sha256:98aa6009c212e72aa0059f3e08631c8656ff33fa1892e7a1c6005bc4d0e79e33
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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-AGPL--3-blue.png
    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
    :alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--ux-lightgray.png?logo=github
    :target: https://github.com/OCA/server-ux/tree/16.0/base_binary_url_import
    :alt: OCA/server-ux
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/server-ux-16-0/server-ux-16-0-base_binary_url_import
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
    :target: https://runboat.odoo-community.org/builds?repo=OCA/server-ux&target_branch=16.0
    :alt: Try me on Runboat

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

This modules provides a wizard that allows mass importation of Binary files
from URLs into selected model/field of multiple records.

As the standard CSV import only allows to import Binaries from URLs into image
fields, this module provides the possibility to import any kind of Binary such
as Texts, PDFs, and anything 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:

Configuration
=============

Configuration shouldn't be needed, however you can customize the import using
following `ir.config_parameter`:

* `binary.url.import.max.size`: Maximum size (in Bytes) of imported Binaries.
  (default = 10485760 = 10MB)

* `binary.url.import.timeout`: Timeout limit (in seconds) for HTTP requests to
  get an answer.
  (default = 5)

Usage
=====

The importation wizard will be available in the Settings > Technical menu.

An admin user can select the target model and field of the importation, and
select a Char field where to store the file name of the Binary being downloaded.

He can then list record IDs (either using Database ID or XML ID) and the URL
of the file to download and write into these records.

To create new records, a standard import can be made without the binary field first,
then a CSV like list can be copy pasted into the wizard to allow mass importation
without having to upload or list URLs one by one.

Known issues / Roadmap
======================

* No check is done on the target records if the target field is not empty.
* Target records can not be created and must be created first before being
  able to import Binaries from URL on it.
* Restriction of models to be selected could be improved

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-ux/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 <https://github.com/OCA/server-ux/issues/new?body=module:%20base_binary_url_import%0Aversion:%2016.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
~~~~~~~~~~~~

* Akim Juillerat <akim.juillerat@camptocamp.com>
* `Trobz <https://trobz.com>`_:
    * Jack Le <anlh@trobz.com>

Other credits
~~~~~~~~~~~~~

The migration of this module from 13.0 to 16.0 was financially supported by Camptocamp

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.

This module is part of the `OCA/server-ux <https://github.com/OCA/server-ux/tree/16.0/base_binary_url_import>`_ 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/server-ux",
    "name": "odoo-addon-base-binary-url-import",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "",
    "keywords": "",
    "author": "Camptocamp, Odoo Community Association (OCA)",
    "author_email": "support@odoo-community.org",
    "download_url": "",
    "platform": null,
    "description": "======================\nBase Binary URL Import\n======================\n\n.. \n   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n   !! This file is generated by oca-gen-addon-readme !!\n   !! changes will be overwritten.                   !!\n   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n   !! source digest: sha256:98aa6009c212e72aa0059f3e08631c8656ff33fa1892e7a1c6005bc4d0e79e33\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-AGPL--3-blue.png\n    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html\n    :alt: License: AGPL-3\n.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--ux-lightgray.png?logo=github\n    :target: https://github.com/OCA/server-ux/tree/16.0/base_binary_url_import\n    :alt: OCA/server-ux\n.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png\n    :target: https://translation.odoo-community.org/projects/server-ux-16-0/server-ux-16-0-base_binary_url_import\n    :alt: Translate me on Weblate\n.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png\n    :target: https://runboat.odoo-community.org/builds?repo=OCA/server-ux&target_branch=16.0\n    :alt: Try me on Runboat\n\n|badge1| |badge2| |badge3| |badge4| |badge5|\n\nThis modules provides a wizard that allows mass importation of Binary files\nfrom URLs into selected model/field of multiple records.\n\nAs the standard CSV import only allows to import Binaries from URLs into image\nfields, this module provides the possibility to import any kind of Binary such\nas Texts, PDFs, and anything 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\nConfiguration\n=============\n\nConfiguration shouldn't be needed, however you can customize the import using\nfollowing `ir.config_parameter`:\n\n* `binary.url.import.max.size`: Maximum size (in Bytes) of imported Binaries.\n  (default = 10485760 = 10MB)\n\n* `binary.url.import.timeout`: Timeout limit (in seconds) for HTTP requests to\n  get an answer.\n  (default = 5)\n\nUsage\n=====\n\nThe importation wizard will be available in the Settings > Technical menu.\n\nAn admin user can select the target model and field of the importation, and\nselect a Char field where to store the file name of the Binary being downloaded.\n\nHe can then list record IDs (either using Database ID or XML ID) and the URL\nof the file to download and write into these records.\n\nTo create new records, a standard import can be made without the binary field first,\nthen a CSV like list can be copy pasted into the wizard to allow mass importation\nwithout having to upload or list URLs one by one.\n\nKnown issues / Roadmap\n======================\n\n* No check is done on the target records if the target field is not empty.\n* Target records can not be created and must be created first before being\n  able to import Binaries from URL on it.\n* Restriction of models to be selected could be improved\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues <https://github.com/OCA/server-ux/issues>`_.\nIn case of trouble, please check there if your issue has already been reported.\nIf you spotted it first, help us to smash it by providing a detailed and welcomed\n`feedback <https://github.com/OCA/server-ux/issues/new?body=module:%20base_binary_url_import%0Aversion:%2016.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* Akim Juillerat <akim.juillerat@camptocamp.com>\n* `Trobz <https://trobz.com>`_:\n    * Jack Le <anlh@trobz.com>\n\nOther credits\n~~~~~~~~~~~~~\n\nThe migration of this module from 13.0 to 16.0 was financially supported by Camptocamp\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\nThis module is part of the `OCA/server-ux <https://github.com/OCA/server-ux/tree/16.0/base_binary_url_import>`_ 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": "AGPL-3",
    "summary": "Wizard to import binary files from URL on existing records",
    "version": "16.0.1.0.0.7",
    "project_urls": {
        "Homepage": "https://github.com/OCA/server-ux"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8b21c568161cbdc796040ec2ca55c77f4fcc7cea02a5e449261f2f77ae60057a",
                "md5": "c6c1ba2fb054dab596ccab6ae0210271",
                "sha256": "e9607c84f970cf2a553e40afd2e08ca5a3de2d67a8a227dc3d91eb75887ae4ae"
            },
            "downloads": -1,
            "filename": "odoo_addon_base_binary_url_import-16.0.1.0.0.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c6c1ba2fb054dab596ccab6ae0210271",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 32813,
            "upload_time": "2023-11-12T06:50:56",
            "upload_time_iso_8601": "2023-11-12T06:50:56.691745Z",
            "url": "https://files.pythonhosted.org/packages/8b/21/c568161cbdc796040ec2ca55c77f4fcc7cea02a5e449261f2f77ae60057a/odoo_addon_base_binary_url_import-16.0.1.0.0.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-12 06:50:56",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "OCA",
    "github_project": "server-ux",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "odoo-addon-base-binary-url-import"
}
        
Elapsed time: 0.62620s