-
-
Notifications
You must be signed in to change notification settings - Fork 209
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
[MIG][13.0] connector_magento #317
Open
bizzappdev
wants to merge
44
commits into
OCA:13.0
Choose a base branch
from
bizzappdev:13.0-mig-connector_magento-format-patch
base: 13.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
f708cec
Rename magentoerpconnect to connector_magento
guewen 4235883
Restructure files, split large python files
guewen d0e37e4
Fix views
guewen a7c20c8
Collection.work_on is now a context manager
guewen ae453b7
Add a base listener and use it in partner export
guewen bf167e4
Rewrite tests using new API and vcr.py
guewen 5a4f515
Update documentation
guewen 2df1daa
Various fixes
guewen 3c5c497
Add dependency on product_multi_category
guewen 0cb6172
Manage multi-company backend
ff6e381
Fix Pylint warnings
guewen 98f6ba2
Remove deprecated select for index creation
guewen aa67342
[FIX] pass http credentials to backedn component if required
d799320
[FIX] change user on backend otherwise import sale order will be done…
f9c7a4b
[CHG]review product aggregation by backend to improve performance
1834a94
Apply fiscal position
guewen 860ddb6
Remove related_action from import_batch
guewen 0e561c4
Allow service type product based on 'giftcard' type in Magento.
jaredkipe 441d14e
Change return value matching with the comment
guewen da7bcfd
Fix failing test
guewen f0ba4be
Listen for new `on_picking_dropship_done` event.
jaredkipe eecbd22
Add new wizard to read data from magento
lmignon bdda141
OCA Transbot updated translations from Transifex
oca-transbot 8a9ad05
[MIG] connector_magento to v11
hugosantosred e396491
[MIG] connector_magento to v11
sebalix edc334d
[MIG] connector_magento: Migration to 12.0
sebalix 553f350
[ADD] Magento2 compatibility
StefanRijnhart 5115041
[UPD] Update connector_magento.pot
oca-travis e8c53b0
Update translation files
oca-transbot 483d4e7
[IMP] Set a pricelist based on the currency of the order
StefanRijnhart 9e64cd1
[FIX] Redundant error handling
StefanRijnhart 6fbc2c0
[IMP] Mute logging related to checkpoint notifications in tests
StefanRijnhart 72b7d6e
connector_magento 12.0.1.1.1
OCA-git-bot 133a317
[UPD] Update connector_magento.pot
oca-travis 408485b
connector_magento 12.0.1.1.2
OCA-git-bot b9dbdfc
Update translation files
oca-transbot 06bef57
[FIX] Incorrect discount handling
StefanRijnhart 79e750c
[UPD] Update connector_magento.pot
oca-travis b601287
connector_magento 12.0.1.1.3
OCA-git-bot 8bbc54d
Update translation files
oca-transbot ab59fab
connector_magento 12.0.1.1.4
OCA-git-bot 19829a3
[IMP] : black, isort, prettier
bizzappdev 9a735fe
[MIG] connector_magento: Migration to 13.0
bizzappdev 747cde7
[FIX] mapping
DarkoNikolovski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# © 2013 Guewen Baconnier,Camptocamp SA,Akretion | ||
# © 2016 Sodexis | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
{ | ||
"name": "Magento Connector", | ||
"version": "13.0.0.0.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, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.