Community mailing list archives
Re: New Magento to Odoo 8.0 Connectorby
To answer your question, Odoo is the master of stock. Odoo does not recognize the stock value in Magento. Odoo will push the stock values to Magento. Documentation to be published soon.
Hello,Is it possible to explain how to resolve the stock when there is an update 'in admin) magento to odoo because we can apply also a new stock in Odoo.In this cas Magento has a stock and Odoo another.What is the way in our odooMagento can manage the Odoo stockOdoo manage the Magento stockThe update is in realtime or not ?thanks------------------------
loïc Richard2014-12-09 1:32 GMT-05:00 Samer Nefawa <firstname.lastname@example.org>:Dear,Separately from the technical description. How complete is the connection? Is there any description for which functionalities are covered/ added/ deducted?Regards
<img border="0" name="Afbeelding1" src="cid:emd95af6e7-edf9-4fc9-b57d-1c9275809134@lenosamer" width="16" align="bottom" height="12"> +31 88 627 0421
<img border="0" name="Afbeelding2" src="cid:emfa2c1d00-9627-4bc1-ad1c-c1fa6f80a565@lenosamer" width="16" align="bottom" height="12"> +31 6 3912 3255
<img border="0" name="Afbeelding3" src="cid:em192f698c-1a5c-47d3-bf8d-b8cff4d4cff9@lenosamer" width="16" align="bottom" height="12"> live: samer.nefawa
<img border="0" name="Afbeelding4" src="cid:emd6129e08-f89a-407f-b8a5-b10b9b44a129@lenosamer" width="16" align="bottom" height="12"> email@example.com
<img border="0" name="Afbeelding5" src="cid:em74b12814-1caf-4c43-96a8-836a31bb0f67@lenosamer" width="16" align="bottom" height="12"> +31 88 627 0400
<img border="0" name="Afbeelding6" src="cid:em6e9fcf6e-0222-44da-9f6f-c7e60098b0e9@lenosamer" width="16" align="bottom" height="12"> www.onestein.eu
<img border="0" name="Afbeelding7" src="cid:em28c89c3d-9466-4816-a549-e2e9588e01d1@lenosamer" width="16" align="bottom" height="12"> onestein_erp
<img border="0" name="Afbeelding8" src="cid:emd929dbef-89c7-464c-978f-54ce1785a118@lenosamer" width="16" align="bottom" height="12"> onestein
<img border="0" name="Afbeelding9" src="cid:em35775eb4-c52f-4152-938a-30998ef60f9b@lenosamer" width="16" align="bottom" height="12"> Amsterdam - Keizersgracht 62-64
<img border="0" name="Afbeelding10" src="cid:em53bfee97-9937-4d26-80a0-411e49624d49@lenosamer" width="16" align="bottom" height="12"> Oosterhout - Beneluxweg 37
<img border="0" name="Afbeelding11" src="cid:em2051dbad-6830-4ed7-9550-88b3907a1139@lenosamer" width="16" align="bottom" height="12"> Antwerpen - Brusselsestraat 51
<img border="0" name="Afbeelding12" src="cid:emb04392e7-b5f4-4878-a70a-63238219ac92@lenosamer" width="183" align="bottom" height="60">
Op 9 dec. 2014 om 04:18 heeft OpenERP Master <firstname.lastname@example.org> het volgende geschreven:I copied this design from Openlabs connector, I like it. In future versions I might change it to not be case sensitive, or be a little smarter about small changes needlessly creating new addresses, but the problem your describing doesn't exist in this connector.You can see this check being performed here: https://github.com/aliomattux/mage2odoo/blob/master/models/partner.py#L51Hello,I personally do not like the address changes since v7 (OpenERP). That being said, this isn't a problem. When an order is imported, each address field is verified against the existing address of a partner. If any part of the address is different, a new address record is created, instead of updating. I completely agree that no part of a previous document should change just because the partner changed their address.On Mon, Dec 8, 2014 at 7:03 PM, Loïc Richard <email@example.com> wrote:I have a question,odoo has a problem with the address.If you create lot of orders with a customer and this customer change this default address (city, zip, ...), This change all the invoice.In ecommerce platform, the customer can change in this administration this default address.For example, the default address and address payment can be different.In this case, if there is invoices created with default address and after another payment via new address payment, all the invoice can be change if you don't create a new address.I put you this question, because I have been the same problem.For me I resolve this like (but there no good solution to resolve that) :- The default address can not be deleted and change- The payment address is a new address.How have you solved this problem in your magento contribution.What isyour way ?thank you------------------------
loïc Richard2014-12-07 22:09 GMT-05:00 Loïc Richard <firstname.lastname@example.org>:thank you for your answer and explaination.------------------------
loïc RichardEnjoyIf you want to use the module and can't install it, email me directly and i'll help you for free. Asking for help here probably wouldn't be good as it would spam a lot of email accounts.Again,3. Lastly, you need to install a Magento server side module. This is because the built in API has very limited functionality. The magento side module is a fork of the original Openlabs magento module, except I remove all code that affects core functionality, and added new methods. It should be safe to install. Link Here: https://github.com/aliomattux/Openobject_OpenobjectConnector You place the xml file in app/etc/modules, and the Openobject folder in app/code/local.2. You have to install the payment_method module, also linked in the original email. This module is required because Odoo has no concept of a payment method on a sales order, however Magento does. You can install it first, or you can just have it available when you install the Magento module and it will automatically be installed. A link to this module is here: https://github.com/aliomattux/payment_method1. This module requires a Magento API Library, the very same one in use by the OCA connector. You can install it on any linux machine with the command 'pip install magento'. This is not an Odoo module, but a python library for those who don't know. You can also learn about it here: https://pypi.python.org/pypi/magento. It is a simple wrapper for the xmlrpc interface. (Later version of my connector will use Magento REST Api).For anyone interested, the current process to get it installed is simple.I tested this with a new install on the current 8.0 branch. I have no idea what your problem is without more detail. If you or anyone else wants to install the connector and test it out, send me a direct email and I would be happy to provide you free assistance to get things in motion.@Loic,I will be developing documentation this coming week, and then resuming the connector development for the next month or so. There is still a lot of work to do. This code has been tested, but it may not work for you. It needs a lot of testing.Is possible to have the process toinstall our module.I try to upload your module via Odoo administration (module add on installed). But it does'nt work.------------------------
loïc RichardThanks for the great effort you have made, but it's a pity that you have opted for a totally different work from the OCA Magento connector (https://github.com/OCA/connector-magento), that it's already developed for v7 and uses a strong infrastructure framework for making the communications. If you would work in migrate and enhance this version for v8 instead of doing another one, now there will be two uncompatible ways of getting a Magento connector for Odoo: OCA modules and yours. People will opt for a one with more support, and OCA have all the cards to win.Regards.
Shall I advice you to try to follow this way, and use your work and experience for making the migration of the OCA modules?Feedback appreciated.Some of the code was inspired or migrated from the original 6.1 MagentoERPConnect and the Openlabs 7.0 connector. I did not finish the credits, such yet.Hi everyone,For the past 3 months I have been developing a new magento connector to Odoo 8.0. I would like to share it with everyone and ask for any feedback. Good or bad, I would appreciate it.
The code is still under active development, so it contains things like print statements, some not the best code. It works perfectly for me, but I only designed it around American business processes, not considering EU or other countries. Also, it does not use the new 8.0 API. I started development before knowing about it. It will be implemented in later versions.I also forked the Openlabs magento side module and reworked a lot of the methods, and removed a lot of code from it.Here is a link to the modules: