Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[11.0][MIG] Backport from 12.0 #310

Draft
wants to merge 31 commits into
base: 11.0
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
2af4a56
Rename magentoerpconnect to connector_magento
guewen Jun 20, 2017
87c8b6a
Restructure files, split large python files
guewen Jun 21, 2017
49e466e
Fix views
guewen Jun 21, 2017
286bd63
Collection.work_on is now a context manager
guewen Jun 23, 2017
b4eedbe
Add a base listener and use it in partner export
guewen Jun 23, 2017
e3f0828
Rewrite tests using new API and vcr.py
guewen Jun 30, 2017
626bd58
Update documentation
guewen Jul 11, 2017
9d1200b
Various fixes
guewen Jul 11, 2017
8ef3383
Add dependency on product_multi_category
guewen Jul 12, 2017
7c386e6
Manage multi-company backend
Jul 12, 2017
0b8c831
Fix Pylint warnings
guewen Jul 12, 2017
7db239c
Remove deprecated select for index creation
guewen Jul 13, 2017
c8ccf33
[FIX] pass http credentials to backedn component if required
Jul 21, 2017
a891712
[FIX] change user on backend otherwise import sale order will be done…
Jul 26, 2017
7bb27d7
[CHG]review product aggregation by backend to improve performance
Jul 26, 2017
d8d4146
Apply fiscal position
guewen Aug 15, 2017
9bf00df
Remove related_action from import_batch
guewen Aug 18, 2017
a0cb133
Allow service type product based on 'giftcard' type in Magento.
jaredkipe Aug 21, 2017
4bcb63c
Change return value matching with the comment
guewen Sep 21, 2017
a77c232
Fix failing test
guewen Sep 21, 2017
95ed028
Listen for new `on_picking_dropship_done` event.
jaredkipe Oct 23, 2017
632f804
Add new wizard to read data from magento
lmignon Nov 23, 2017
00d506c
OCA Transbot updated translations from Transifex
oca-transbot Mar 3, 2018
4ef44c4
[MIG] connector_magento to v11
hugosantosred Mar 6, 2018
00d1fd2
[MIG] connector_magento to v11
sebalix Apr 17, 2019
6097dfb
[MIG] connector_magento: Migration to 12.0
sebalix Apr 18, 2019
16ddf1e
[ADD] Magento2 compatibility
StefanRijnhart May 8, 2020
6aa6803
[UPD] Update connector_magento.pot
oca-travis Jul 2, 2020
5d21ecc
Update translation files
oca-transbot Aug 16, 2020
c60d113
[MIG] connector_magento
danielduqma Oct 8, 2020
b0a3a74
[IMP] connector_magento: custom User-Agent
danielduqma Oct 6, 2020
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
25 changes: 25 additions & 0 deletions connector_magento/AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Last update: Fri May 1 19:37:00 CET 2021

* Guewen Baconnier at Camptocamp
* Alexandre Fayolle at Camptocamp
* Joel Grand-Guillaume at Camptocamp
* Sebastien Beau at Akretion
* Benoit Guillot at Akretion
* Chafique Delli at Akretion
* David Beal at Akretion
* Brendan Clune at Logic Supply
* Allison Miller at Logic Supply
* Augustin Cisterne-Kaas at Elico Corp
* Alexis de Lattre at Akretion (tiny change)
* Olivier Distexhe at Akilon (tiny change)
* Romain Deheele at Camptocamp
* Thomas Rehn at initOS
* Katja Matthes at initOS
* Markus Schneider at initOS
* Jan-Philipp Fischer at greencoding
* Ondřej Kuzník at credativ
* Matthieu Dietrich at Camptocamp
* Florian da Costa at Akretion
* Alberto Garcia at Factor Libre
* Sébastien Alix at Camptocamp
* Stefan Rijnhart at Opener B.V.
131 changes: 131 additions & 0 deletions connector_magento/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

=================
Magento Connector
=================

This is the new release of the Open-Source connector linking Odoo and
Magento also known under the name of **Magentoerpconnect**. It is
build on top of the `connector`_ framework. It is structured so that
it can be extended or modified easily from separate addons, a factor of
success when the implementations of Magento vary a lot.

Magento Odoo Connector is part of the Odoo Community Association (OCA).
The `source is on GitHub`_.

This connector is designed to have a strong and efficient core, with the
ability to extend it with extension modules or local customizations.

In other words, the core module contains the minimal scope to run your
e-commerce with Odoo and Magento. More advanced features are
installable using extensions.

It features:

Synchronizations:

* Import the partners and addresses book
* Import the customer groups (becomes partner tags)
* Import the categories of products, with translations
* Import the products, with translations and main image
* Import the sales orders
* Export of the the stock quantities,
with configuration of the warehouse and an option to choose the stock
field to use
* Export the delivery orders status
* Export the tracking numbers
* Create the invoices on Magento and get their number back
* Resolve and import the dependencies when they are not yet imported
(ie. customer, products for sale order)

Automatizations:

* Use the `Automatic workflows` to automatize the workflow of the sales
according to the payment method (confirm orders, create and reconcile
payments, ...)
* Per payment method, choose when the orders are imported
(only when a payment is captured / authorized / always / never)
* Use the `Sales Exceptions` to prevents the processing of sales orders
with issues

Technical points:

* Built on top of the `connector`_ framework
* Use the `connector_ecommerce`_ addon to share the e-commerce capabilities
with other e-commerce addons
* Use the jobs system of the `connector`_ framework
* Create `connector`_ checkpoints when new records to verify are imported
* Support Magento 1.7+ and 2.x, the support of earlier versions should be easy to
add, the `connector`_ framework being designed to handle multiple
versions with ease.
* Licensed under AGPL version 3
* Designed to be usable with multiple Magento or any other e-commerce backends
in the same time.


.. _connector: https://github.com/OCA/connector
.. _connector_ecommerce: https://github.com/OCA/connector-ecommerce
.. _`source is on GitHub`: https://github.com/OCA/connector-magento

Installation
============

To install this module, you need to:

Read the full installation guide:
http://odoo-magento-connector.com/guides/installation_guide.html

Configuration and usage
=======================

Read
http://odoo-magento-connector.com/guides/installation_guide.html#after-the-installation

Usage
=====
#. Go to ...

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/107/9.0

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

Bugs are tracked on `GitHub Issues
<https://github.com/OCA/connector-magento/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
=======

Images
------

* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.

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

See `contributors' list`_


.. _contributors' list: ./AUTHORS

Maintainer
----------

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://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 https://odoo-community.org.
7 changes: 7 additions & 0 deletions connector_magento/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# © 2013 Guewen Baconnier,Camptocamp SA,Akretion
# © 2016 Sodexis
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import components
from . import models
from . import wizards
45 changes: 45 additions & 0 deletions connector_magento/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# © 2013 Guewen Baconnier,Camptocamp SA,Akretion
# © 2016 Sodexis
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{'name': 'Magento Connector',
'version': '11.0.1.1.0',
'category': 'Connector',
'depends': ['account',
'base_technical_user',
'product',
'delivery',
'sale_stock',
'product_multi_category',
'connector_ecommerce',
],
'external_dependencies': {
'python': ['magento'],
},
'author': "Camptocamp,Akretion,Sodexis,Odoo Community Association (OCA)",
'license': 'AGPL-3',
'website': 'http://www.odoo-magento-connector.com',
'images': ['images/magento_backend.png',
'images/jobs.png',
'images/product_binding.png',
'images/invoice_binding.png',
'images/connector_magento.png',
],
'data': ['data/connector_magento_data.xml',
'data/res_partner_category.xml',
'security/ir.model.access.csv',
'views/magento_backend_views.xml',
'views/product_views.xml',
'views/product_category_views.xml',
'views/partner_views.xml',
'views/invoice_views.xml',
'views/sale_order_views.xml',
'views/connector_magento_menu.xml',
'views/delivery_views.xml',
'views/stock_views.xml',
'views/account_payment_mode_views.xml',
'wizards/magento_binding_backend_read.xml',
],
'installable': True,
'application': False,
}
8 changes: 8 additions & 0 deletions connector_magento/components/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from . import core
from . import backend_adapter
from . import binder
from . import importer
from . import exporter
from . import mapper
from . import deleter
from . import line_builder
Loading