Search 1.9 billion lines of Odoo code on GitHub

connector_prestashop_import_bom

Author: Akretion,Odoo Community Association (OCA)
License: AGPL-3
Branch: 14-connector_prestashop_import_bom
Repository: akretion/connector-prestashop
Dependencies: component, connector, connector_prestashop, and mrp
Languages: Python (146, 29.4%), SVG (228, 45.9%), and reStructuredText (123, 24.7%)
Other repositories: florian-dacosta/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>It doesn't require any plug-in in PrestaShop, but requires an extra Python library in Odoo server side, called prestapyt:</p> <p><a class="reference external" href="https://github.com/prestapyt/prestapyt/">https://github.com/prestapyt/prestapyt/</a></p> <p>You can use pip install system to install it</p> <p><cite>sudo pip install prestapyt</cite></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> </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>