Tuesday, March 03, 2009

magento-openerp-synchro module: we moved to Launchpad!

Sure Google Code Hosting is great,

But we are now seeing too much interest in that connector poping all over the world to continue the development in a centralized way. Also, we have been contacted by Jordi Esteve, the primary extern OpenERP contributor (after Launchpad stats) who wanted to jump in and join efforts, so he also asked us to move the contribution process forward.

That's why we have the pleasure to announce you that we migrated our development trunk from Google Code SVN to Bazaar on Launchpad, meaning we just use the advised OpenERP community advised distributed development platform. Also notice that we took care of migrating the previous SVN commits.

That was also the occasion to split the development in two branches:

a 4.2 compatible maintenance Branch. That one is for the conservative folks who can't afford migrating to OpenERP v5 https://code.launchpad.net/~openerp-commiter/openobject-addons/4.2-extra-addons

a 5.x branch where all the new interesting stuff is expected to happen: https://code.launchpad.net/~openerp-commiter/openobject-addons/trunk-extra-addons

In both cases, the OpenERP addon module name is now called magento_openerp_synchro.The last SVN version (revision #27) has been ported as bzr revision #3581.1.9 on v5 branch and rev #148 in 4.2 branch. Later on both branches got a fix for issue http://code.google.com/p/magento-openerp-smile-synchro/issues/detail?id=31v5 branch got even more attention and code clean up.

So you are very much welcome to jump in and contribute to whatever branch you need. Still, before adding any serious extra feature, we would like to insist that some refactoring should be undertaken BEFORE bloating the code.

Especially:

Too much code is lying inside the OpenERP wizard layers. That was a bad design choice making it hard for additionnal third party modules to extend the connector behavior and add custom features that way OpenERP allows it (thanks to its extensive OOP design). Instead, that code should be moved INSIDE THE OBJECT LAYER. That shouldn't be to hard, it's only about extracting methods, putting them in the appropriated objects (sale order, product...) and calling those methods from the wizards instead. For instance we deployed a derived version of that connector for a customer along with the sale_supplier_direct_delivery module and we had to hardcode the connector to make it account for the direct delivery eventuallity. With the new design things should work more seamlessly. See the following tracker: http://code.google.com/p/magento-openerp-smile-synchro/issues/detail?id=32

The sale order push feature (from Magento) has not beeing integrated properly yet and is still polluting the code. It has been a wonderfull contribution by Charles Galpin, but we had not time to integrate it the way we wanted to and it has not been tested extensively. Instead, we would like to remove the push code from Magento and instead makes Magento call OpenERP and tell him to pull the given sale order reusing it's standar sale order import code. Finally that design should be able to deal with possible network or OpenERP failure and flag failing push inside Magento for later processing. Not at top priority, but something you should be aware of. See following tracker: http://code.google.com/p/magento-openerp-smile-synchro/issues/detail?id=33

Finally, we insist that we din't take care yet of exposing ALL OpenERP XML/RPC server webservice the standard Magento way. One of the consequences is that currently importing sale orders is not secure unless you block external connections by IP at say an Apache level. A much better way would be to properly expose our custom extra webservice the Magento way, see the following tracker: http://code.google.com/p/magento-openerp-smile-synchro/issues/detail?id=6

Meanwhile we welcome Jordi Esteve as a core contributor + project member. We know that things have been a bit slow with Smile and the connector recently (we are flooded by OpenERP non Magento demand), but we really hope to help moving foward as much as we can. We really hope all those inputs will streamline the installation process + natively supported features while minimizing the required development skills. Enjoy!

55 comments:

So then for a completely fresh install, with the goal of managing multiple webstores through an online interface for one ecommerce business, using OpenERP, Magento, & smile synchro, what is the best combination of those 3 software packages to install?

Is it possible to integrate after installing Magento [ver 1.2.1.2 - Added March 3, 2009] from here: http://www.magentocommerce.com/download/noregister, OpenERP 5.0 from here: http://www.openerp.com/download/stable/source/openerp-web-5.0.0-3.1.tar.gz, and magento_openerp_smile-0.9.9.zip from here: http://code.google.com/p/magento-openerp-smile-synchro/downloads/list?

Thanks and I apologize if this isn't the right place to be asking this.

@James,The best combination is:- OpenERP v5.0.0.3 (or even trunk)- bazaar version (branch 5) of the connector (grab it using bzr or wait the next release)- last Magento version

Moreover, you'll definitely need to get your hands dirty a bit for the moment to make it work properly and fine tuned. If you can't afford getting your hands dirty or having somebody doing it for you, better not trying. We hope it will be more streamlined in the close future as we can cover more edge cases out of the box.

Raphaël, I have a question for you, or for anyone who can answer it.Can with the magento-openerp synchro module more than one magento shop being synchronised with openerp? (Even in italy we have 6 webshops, in that case there should be 6 webshops be connected to openerp.)We have different webshops for different product categories, not even under the same magento installation. (completely independent installations of magento). My webmaster tells me can connect only one website to openerp...which then is near to useless to me, as it doesnt make sense having 3 openerps running for one company. Of course we can spend some money on customizing, thats not a problem, as long as its within reason, but my webmaster simply stated that this could not be done...

I am the sort of guy who enjoys to taste brand-new stuff. Right now I'm fabricating my personalized photovoltaic panels. I'm making it all by myself without the help of my staff. I am utilizing the internet as the only way to acheive that. I ran across a really amazing website that explains how to contruct pv panels and so on. The website explains all the steps needed for solar panel construction.

I am not exactly sure about how precise the information given there is. If some people over here who had experience with these works can have a see and give your feedback in the site it would be great and I would extremely value it, cauze I really lav [URL=http://solar-panel-construction.com]solar panel construction[/URL].

It apрearѕ that a form of botulіnum toхin tуpe А, or resρiratory dеpression. Ѕo, tеll us muсh abоut it and then looκ nо fuгthеr than some studіеs thаt shoω іt tо any ԁoctoг oг ρlastiс.ӏ felt sullen not able to say I have met a lot of other average people with lοw budget aгe adѵiseԁ tо buy theѕe рroduсts, naturally.Feel free to surf my website - botox sydney

Please let me know if you're looking for a writer for your site. You have some really good posts and I think I would be a good asset. If you ever want to take some of the load off, I'd absolutely love to write some content for your blog in exchange for a link back to mine.Please send me an e-mail if interested. Many thanks!

My spouse and I absolutely love your blog and find many of your post's to be just what I'm looking for. can you offer guest writers to write content available for you? I wouldn't mind composing a post or elaborating on many of the subjects you write concerning here. Again, awesome blog!

Very good blog you have here but I was curious if you knew of any community forums that cover the same topics discussed here? I'd really like to be a part of group where I can get opinions from other experienced people that share the same interest. If you have any suggestions, please let me know. Cheers!

Undeniably believe that which you said. Your favorite reason seemed to be on the web the easiest thing to be aware of. I say to you, I certainly get irked while people think about worries that they just don't know about. You managed to hit the nail upon the top and defined out the whole thing without having side-effects , people could take a signal. Will likely be back to get more. Thanks