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] connector_magento #274

Open
wants to merge 10 commits into
base: 11.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ install:
- travis_install_nightly
- pip install magento
- pip install beautifulsoup4
- pip install sphinx sphinx_bootstrap_theme sphinx-intl odoo-sphinx-autodoc
- pip install sphinx sphinx_bootstrap_theme sphinx-intl
- pip install -e git+https://github.com/OCA/odoo-sphinx-autodoc.git#egg=odoo-sphinx-autodoc
- printf '[options]\n\nrunning_env = dev' > ${HOME}/.openerp_serverrc

script:
Expand Down
7 changes: 7 additions & 0 deletions .travis_build_doc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

cd ${TRAVIS_BUILD_DIR}

sphinx-build -b html ./connector_magento/doc/ ${HOME}/doc
# sphinx-intl build
# sphinx-build -D language=fr -b html ./connector_magento/doc/ ${HOME}/doc/fr
25 changes: 25 additions & 0 deletions .travis_push_doc
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/bash

set -o errexit -o nounset

if [ $TRAVIS_BRANCH = "11.0" ] && [ $TRAVIS_PULL_REQUEST = false ]; then
cd ${TRAVIS_BUILD_DIR}
rev=$(git rev-parse --short HEAD)

cd ${HOME}/doc
git init
git config user.name "Guewen Baconnier"
git config user.email "[email protected]"
git remote add upstream https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
git fetch upstream
git reset upstream/gh-pages

echo "odoo-magento-connector.com" > CNAME
touch .nojekyll

touch .
git add -A .
git commit -m"rebuild pages at ${rev}"

git push -q upstream HEAD:gh-pages
fi
23 changes: 23 additions & 0 deletions connector_magento/AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Last update: Tue Jan 6 13:11:49 CET 2015

* 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
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+ (not 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.
6 changes: 6 additions & 0 deletions connector_magento/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# © 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
43 changes: 43 additions & 0 deletions connector_magento/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# © 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.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',
'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',
],
'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