Search 1.9 billion lines of Odoo code on GitHub

connector_prestashop

Author: Akretion,Camptocamp,AvanzOSC,Tecnativa,Mind And Go,Didotech,Odoo Community Association (OCA)
License: AGPL-3
Branch: 12.0
Repository: LibrERP/connector-prestashop
Dependencies: account, base, base_multi_image, base_vat, component, component_event, connector, connector_base_product, connector_ecommerce, decimal_precision, product, product_multi_category, purchase, queue_job, stock, and stock_available
Languages: PO File (2270, 8.6%), Python (6767, 25.5%), XML (1030, 3.9%), and YAML (16476, 62.1%)
Other branches: 10.0, 12.0-tax_relation, 8.0, and 9.0
Other repositories: AlvaroMolano/connector-prestashop, Change2improve/connector-prestashop, ClearCorp/oca-connector-prestashop, Confidere/connector-prestashop, DiamondFAOL/connector-prestashop, DjaitaiKoffi/connector-prestashop, Eleria17/connector-prestashop, GrupoAlvamex/connector-prestashop, Ingeos/connector-prestashop, IvanGuGon1/connector-prestashop, NeatNerdPrime/connector-prestashop, OCA/connector-prestashop, ORETEK/connector-prestashop, OutillageStEtienne/connector-prestashop, PESOL/connector-prestashop, Palpid/connector-prestashop, PlanetaTIC/connector-prestashop, RosleStores/connector-prestashop, SeuMarco/connector-prestashop, Tecnativa/connector-prestashop, VisiionSolucionesTecnologicas/connector-prestashop, aaltinisik/connector-prestashop, acsone/connector-prestashop, akretion/connector-prestashop, angelmoya/connector-prestashop, anodino-dev/connector-prestashop, apetbiz/connector-prestashop, atolodas/connector-prestashop, bodi000/connector-prestashop, camptocamp/connector-prestashop, damcar/connector-prestashop, daramousk/connector-prestashop, druidoo-dev/connector-prestashop, echobar/connector-prestashop, factorlibre/connector-prestashop, florian-dacosta/connector-prestashop, guewen/connector-prestashop, gurneyalex/connector-prestashop, gustotc/connector-prestashop, haroldtamo/connector-prestashop, isoscl/connector-prestashop, jcarlosmontoya/connector-prestashop, jesusVMayor/connector-prestashop, josepmy/connector-prestashop, kmee/connector-prestashop, lbelorgey/connector-prestashop, leemannd/connector-prestashop, lideritjnma/connector-prestashop, llacroix/connector-prestashop, meta-it/connector-prestashop, nbessi/connector-prestashop, nisheednair/connector-prestashop, omalbastin/connector-prestashop, pscloud/connector-prestashop, sc4you/connector-prestashop, sergio-teruel/connector-prestashop, sewisoft/connector-prestashop, simahawk/connector-prestashop, skechav/connector-prestashop, solibres/connector-prestashop, spacimek/connector-prestashop, tetageek/connector-prestashop, unoffices/connector-prestashop, versada/connector-prestashop, veryberry/connector-prestashop, x0rzkov/odoo-connector-prestashop, and xtendoo-corporation/connector-prestashop

<a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.svg"> </a> <a name="odoo-prestashop-connector"></a> <h2>Odoo PrestaShop Connector</h2> <p>This module connects Odoo and PrestaShop.</p> <p>PrestaShop (<a class="reference external" href="http://www.prestashop.com/">http://www.prestashop.com/</a>) is a popular e-commerce platform written in PHP/MySQL and published under the Open Software licence v3.0.</p> <p>This module allows the synchronization of the following objects from PrestaShop to Odoo:</p> <ul class="simple"> <li>Websites</li> <li>Stores and languages</li> <li>Carriers</li> <li>Product categories</li> <li>Products</li> <li>Combinations of products</li> <li>Partner categories</li> <li>Customers</li> </ul> <p>Once these objects are synchronised, it will allow the import of sales orders, together with the related customers.</p> <p>As an extra feature, you can also export the stock quantities back to PrestaShop.</p> <p>If you want to export from Odoo to PrestaShop changes made on the products, product categories or product images, you need to install <em>connector_prestashop_catalog_manager</em> module in this same repository.</p> <p>This connector supports PrestaShop version up to 1.6.11. Maybe later versions are also supported, but they haven't been tested. It uses the webservices of PrestaShop.</p> <a name="installation"></a> <h3>Installation</h3> <p>Installation requirements based on Odoo version 12.0. It doesn't require any plug-in in PrestaShop, but requires an extra Python library in Odoo server side, called prestapyt, download it from:</p> <p><a class="reference external" href="https://github.com/prestapyt/prestapyt.git">https://github.com/prestapyt/prestapyt.git</a></p> <p>Or you can use pip install system to install it</p> <p>sudo pip3 install prestapyt</p> <p>Requires &quot;base_multi_image module&quot;, on version 12 it's available from:</p> <p><a class="reference external" href="https://github.com/PESOL/server-tools/tree/12.0-mig-base_multi_image">https://github.com/PESOL/server-tools/tree/12.0-mig-base_multi_image</a></p> <p>Finally install &quot;vcr&quot; python library :</p> <p>apt-get install python3-vcr</p> <a name="configuration"></a> <h3>Configuration</h3> <p>To configure this module, you need to set several things in both PrestaShop and Odoo:</p> <a name="steps-in-prestashop"></a> <h4>Steps in PrestaShop</h4> <ol class="arabic simple"> <li>Go to the control panel (usually at &lt;url&gt;/adminps).</li> <li>Login into the system.</li> <li>Go to <em>Advanced Parameters &gt; Web service</em></li> <li>Add a new entry.</li> <li>Generate a new API key that will be needed later.</li> <li>Grant all the needed access according your security policy.</li> </ol> <a name="steps-in-odoo"></a> <h4>Steps in Odoo</h4> <ol class="arabic simple"> <li>Go to <em>Connectors &gt; PrestaShop &gt; Backends</em>.</li> <li>Create a new record for registering a PrestaShop backend. You will bind this backend to an specific company and warehouse.</li> <li>Define the main URL of the PrestaShop web, and the webservice key you got in PrestaShop.</li> <li>Define other parameters like the discount and shipping products, or if the taxes are included in the price.</li> <li>Click on &quot;Synchronize Metadata&quot; button. This will bring the basic shop information that you can find on <em>Websites</em> and <em>Stores</em> menus.</li> <li>Click on &quot;Synchronize Base Data&quot; button. This will import carriers, languages, tax groups and the rest of base data that are needed for the proper work.</li> <li>Go to <em>Accounting &gt; Configuration &gt; Taxes &gt; Tax Groups</em>, and include for each of the tax definition imported from PrestaShop, the corresponding taxes in Odoo.</li> <li>Activate the job runner, checking the connector documentation for setting the server correctly for using it in <a class="reference external" href="http://odoo-connector.com/guides/jobrunner.html">http://odoo-connector.com/guides/jobrunner.html</a></li> <li>Alternatively, if you are not able to activate it, you can enable the scheduled job called &quot;Enqueue Jobs&quot;.</li> <li>Activate the scheduled jobs for importing the records you want:</li> </ol> <blockquote> <ul class="simple"> <li>PrestaShop - Export Stock Quantities</li> <li>PrestaShop - Import Carriers</li> <li>PrestaShop - Import Customers and Groups</li> <li>PrestaShop - Import Products and Categories</li> <li>PrestaShop - Import Sales Orders</li> <li>PrestaShop - Import suppliers</li> <li>PrestaShop - Payment methods</li> </ul> </blockquote> <a name="usage"></a> <h3>Usage</h3> <p>To use this module, you need to:</p> <ol class="arabic simple"> <li>Go to <em>Connectors &gt; Queue &gt; Jobs</em>, and check the correct enqueuing of the tasks.</li> <li>Check on each menu the resulting imported records (Customers, Sales Orders...)</li> </ol> <a class="reference external image-reference" href="https://runbot.odoo-community.org/runbot/108/9.0"><img alt="Try me on Runbot" src="https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas" /></a> <a name="test-dependencies"></a> <h3>Test dependencies</h3> <p>Extra libs are required to run the tests: * <code>vcrpy</code> * <code>freezegun</code></p> <a name="known-issues-roadmap"></a> <h3>Known issues / Roadmap</h3> <ul class="simple"> <li>Work with multiple warehouses.</li> <li>Tests.</li> </ul> <a name="bug-tracker"></a> <h3>Bug Tracker</h3> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/connector-prestashop/issues">GitHub Issues</a>. 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.</p> <a name="credits"></a> <h3>Credits</h3> <a name="images"></a> <h4>Images</h4> <ul class="simple"> <li><a class="reference external" href="http://seeklogo.com/prestashop-logo-178788.html">PrestaShop logo</a>.</li> <li><a class="reference external" href="https://www.odoo.com/es_ES/page/brand-assets">Odoo logo</a>.</li> <li><a class="reference external" href="https://openclipart.org/detail/174134/cable-with-connector">Cable</a>.</li> </ul> <a name="contributors"></a> <h4>Contributors</h4> <ul class="simple"> <li>Sébastien Beau &lt;<a class="reference external" href="mailto:sebastien.beau&#64;akretion.com">sebastien.beau&#64;akretion.com</a>&gt;</li> <li>Benoît Guillot &lt;<a class="reference external" href="mailto:benoit.guillot&#64;akretion.com">benoit.guillot&#64;akretion.com</a>&gt;</li> <li>Alexis de Lattre &lt;<a class="reference external" href="mailto:alexis.delattre&#64;akretion.com">alexis.delattre&#64;akretion.com</a>&gt;</li> <li>Guewen Baconnier &lt;<a class="reference external" href="mailto:guewen.baconnier&#64;camptocamp.com">guewen.baconnier&#64;camptocamp.com</a>&gt;</li> <li>Sergio Teruel &lt;<a class="reference external" href="mailto:sergio.teruel&#64;tecnativa.com">sergio.teruel&#64;tecnativa.com</a>&gt;</li> <li>Mikel Arregi &lt;<a class="reference external" href="mailto:mikelarregi&#64;avanzosc.es">mikelarregi&#64;avanzosc.es</a>&gt;</li> <li>Pedro M. Baeza &lt;<a class="reference external" href="mailto:pedro.baeza&#64;tecnativa.com">pedro.baeza&#64;tecnativa.com</a>&gt;</li> <li>Simone Orsi &lt;<a class="reference external" href="mailto:simone.orsi&#64;camptocamp.com">simone.orsi&#64;camptocamp.com</a>&gt;</li> <li>Florent THOMAS &lt;<a class="reference external" href="mailto:florent.thomas&#64;mind-and-go.com">florent.thomas&#64;mind-and-go.com</a>&gt;</li> <li>Francisco Fernández &lt;<a class="reference external" href="mailto:ffernandez&#64;planetatic.com">ffernandez&#64;planetatic.com</a>&gt;</li> <li>Michele Trevisan &lt;<a class="reference external" href="mailto:michele.trevisan&#64;didotech.com">michele.trevisan&#64;didotech.com</a>&gt;</li> </ul> <a name="maintainer"></a> <h4>Maintainer</h4> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>This module is maintained by the OCA.</p> <p>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.</p> <p>To contribute to this module, please visit <a class="reference external" href="https://odoo-community.org">https://odoo-community.org</a>.</p>