Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
c808faa
[ADD] connector_importer
simahawk May 9, 2017
102e630
[11.0] connector_importer
simahawk Jan 26, 2018
a2bbe37
more tests and cleanup
simahawk Jan 29, 2018
526d35b
Update oca dependencies
simahawk Jan 30, 2018
0f4fb01
fix tests
simahawk Mar 26, 2018
ba96736
make record handler and tracker real components
simahawk Mar 26, 2018
0b1bc12
connector_importer: add xmlid converter
simahawk Mar 11, 2018
0a7f812
connector_importer: load mapper options on each chunk, log values debug
simahawk Mar 11, 2018
6ba26dd
c_importer: use serialized fields, add shared storage
simahawk Mar 11, 2018
8668b19
[FIX] invalidate_cache for set_shared (#3)
mpanarin Apr 3, 2018
7080384
Correct method name in autogenerated cron
May 29, 2018
5766ca9
Preserve original values on create/write
simahawk Jun 12, 2018
31d0ad9
Record handler: allow force of create_uid/write_uid
simahawk Jun 12, 2018
72284e0
Record handler: allow force of create_date
simahawk Jun 27, 2018
87e374b
[FIX] check None instead of falsy on reporter
Sep 4, 2018
3f53055
[FIX] base64 conversion
Sep 4, 2018
76ac993
[FIX] for csv writer as it expects a string in python3
Sep 4, 2018
84d1c57
Recordset importer: drop existing records before run
simahawk Jan 15, 2019
149be2b
Record handler better handling of create/write ctx
simahawk Jan 15, 2019
2781d97
Record: store JSON data as attachment
simahawk Jan 15, 2019
27df8ff
Add `is_last_importer` flag to mark last importer for a recorset
simahawk Jan 15, 2019
0159295
Add FIXME reminder for job relations
simahawk Jan 15, 2019
132481a
PEP8
simahawk Jan 15, 2019
ac48988
[IMP] always create records, when unique key is not defined
Feb 7, 2019
4e22bff
[FIX] csv file conversion
Feb 7, 2019
3783d80
[FIX] report generation
Feb 7, 2019
7126250
[FIX] filesize computation
Mar 5, 2019
7ca20fb
update README
gurneyalex Jul 17, 2019
915017d
connector_importer: disable some lint checks (#9)
gurneyalex Jul 17, 2019
1e0a339
[ADD] icon.png
OCA-git-bot Jul 17, 2019
087e6ac
[ADD] setup.py
OCA-git-bot Jul 17, 2019
a6622cc
Merge PR #44 into 11.0
OCA-git-bot Jul 17, 2019
7601ecc
[REF]importer: if flag break on error is True raise the full error.
Dec 24, 2018
68a6e4d
[REF]connector_importer: use `root.import` channel for import jobs
Dec 24, 2018
eb4eeca
[REV]connector_importer: revert default job channel.
Sep 2, 2019
658550c
[REF]connector_importer: do not updat report when record import is done.
Nov 11, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions connector_importer/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: https://www.gnu.org/licenses/agpl
:alt: License: AGPL-3

==================
Connector importer
==================

This module allows to import / update records from files using the connector
framework (i.e. mappers) and job queues.

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

N/A


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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/connector-interfaces/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
`here <https://github.com/OCA/connector-interfaces/issues/new?body=module:%20base_import_async%0Aversion:%2011.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.


Credits
=======

Contributors
------------

Simone Orsi (Camptocamp) for the original implementation.


Other contributors include:

* Guewen Baconnier (Camptocamp)
* Mykhailo Panarin (Camptocamp)

Maintainer
----------

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

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.

To contribute to this module, please visit http://odoo-community.org.
3 changes: 3 additions & 0 deletions connector_importer/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from . import models
from . import components
from . import controllers
30 changes: 30 additions & 0 deletions connector_importer/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Author: Simone Orsi
# Copyright 2018 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
'name': 'Connector Importer',
'summary': """This module takes care of import sessions.""",
'version': '11.0.1.0.0',
'depends': [
'connector',
'queue_job',
],
'author': 'Camptocamp, Odoo Community Association (OCA)',
'license': 'AGPL-3',
'category': 'Connector',
'website': 'https://github.com/OCA/connector-interfaces',
'data': [
'data/ir_cron.xml',
'security/security.xml',
'security/ir.model.access.csv',
'views/backend_views.xml',
'views/recordset_views.xml',
'views/source_views.xml',
'views/report_template.xml',
'views/docs_template.xml',
'views/source_config_template.xml',
'menuitems.xml',
],
'external_dependencies': {'python': ['chardet']},
}
5 changes: 5 additions & 0 deletions connector_importer/components/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from . import base
from . import tracker
from . import odoorecord
from . import importer
from . import mapper
12 changes: 12 additions & 0 deletions connector_importer/components/base.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Author: Simone Orsi
# Copyright 2018 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from odoo.addons.component.core import AbstractComponent


class ImporterComponent(AbstractComponent):

_name = 'importer.base.component'
_inherit = 'base.connector'
_collection = 'import.backend'
Loading