What are the correct branches for OpenERP 6.1 and Magento 1.7?

Asked by Nick Prakash on 2012-10-20

Hi....I have tried various combinations of branches to get synching working between OpenERP 6.1 and Magento 1.7. I am able to synch form Magento to OpenERP (not stock count but everything else) but not not from OpenERP to Magento. Can someone please tell me the exact branches I need and the dependencies?

What I have tried:

lp:magentoerpconnect/oerp6.1-oldstable
        lp:openobject-addons/extra-trunk => for base_sale_multichannels, base_external_referentials, product_m2m_categories
        lp:c2c-ecom-addons/6.1 => for product_links
lp:magentoerpconnect/magento-module-oerp6.x-stable

Question information

Language:
English Edit question
Status:
Answered
For:
Magento OpenERP Connector Edit question
Assignee:
No assignee Edit question
Last query:
2012-10-20
Last reply:
2012-10-29

It is really not clear because of all the different guides and information sources and since there has been alot of changes in the modules, naming, etc.

Based on the branches reccommended at https://code.launchpad.net/~magentoerpconnect-core-editors/magentoerpconnect/oerp6.1-stable I was able to get the connector install on the OpenERP side on 6.1 (latest yesterday) using the following:

bzr branch lp:magentoerpconnect/oerp6.1-stable magentoerpconnect
bzr branch lp:e-commerce-addons/oerp6.1-stable e-commerce-addons
bzr branch lp:openobject-extension/oerp6.1-stable openobject-extension
bzr branch lp:product-extra-addons/oerp6.1-stable product-extra-addons

cp magentoerpconnect/* /opt/openerp/server/openerp/addons/ -r
cp e-commerce-addons/* /opt/openerp/server/openerp/addons/ -r
cp openobject-extension/* /opt/openerp/server/openerp/addons/ -r
cp product-extra-addons/* /opt/openerp/server/openerp/addons/ -r

Kind regards,
Réal Carbonneau

gabriel t (maintanosgr) said : #2

Thank you very much for the help. What you suggested worked like a charm with getting the connector running and pulling information from my magento store using openerp 6.1 nightly version and magento 1.7.

nikko (nikkowang) said : #3

Réal ,

I tried to install magento connect as your instruction, it seems ok. But when I install magentoerpconnect_payment, I occur problem similar to following bug. Did you occur this bug?

https://bugs.launchpad.net/magentoerpconnect/+bug/995347

Server Traceback (most recent call last):
  File "D:\OpenERP 6.1\Server\server\openerp\addons\web\common\http.py", line 593, in send
  File "D:\OpenERP 6.1\Server\server\.\openerp\netsvc.py", line 360, in dispatch_rpc
  File "D:\OpenERP 6.1\Server\server\.\openerp\service\web_services.py", line 586, in dispatch
  File "D:\OpenERP 6.1\Server\server\.\openerp\osv\osv.py", line 167, in execute_kw
  File "D:\OpenERP 6.1\Server\server\.\openerp\osv\osv.py", line 121, in wrapper
  File "D:\OpenERP 6.1\Server\server\.\openerp\osv\osv.py", line 176, in execute
  File "D:\OpenERP 6.1\Server\server\.\openerp\osv\osv.py", line 164, in execute_cr
  File "D:\OpenERP 6.1\Server\server\openerp\addons\base\module\wizard\base_module_upgrade.py", line 101, in upgrade_module
  File "D:\OpenERP 6.1\Server\server\.\openerp\pooler.py", line 39, in restart_pool
  File "D:\OpenERP 6.1\Server\server\.\openerp\modules\registry.py", line 202, in new
  File "D:\OpenERP 6.1\Server\server\.\openerp\modules\loading.py", line 338, in load_modules
  File "D:\OpenERP 6.1\Server\server\.\openerp\modules\loading.py", line 253, in load_marked_modules
  File "D:\OpenERP 6.1\Server\server\.\openerp\modules\loading.py", line 167, in load_module_graph
  File "D:\OpenERP 6.1\Server\server\.\openerp\modules\registry.py", line 109, in load
  File "D:\OpenERP 6.1\Server\server\.\openerp\osv\orm.py", line 877, in create_instance
TypeError: The model "base.sale.payment.type" specifies an unexisting parent class "base.sale.payment.type"
You may need to add a dependency on the parent class' module.

Yes, I receive the same error when I try to install magentoerpconnect_payment, however, the bug you reference says that the module will be deprecated, so I guess you shouldn't be installing it.

gabriel t (maintanosgr) said : #5

Confirmed as well the same error occured when i tried to install that module as well.

nikko (nikkowang) said : #6

Below 5 models of magentoerpconnect are failed to install.
1.magentoerpconnect_bundle
2.magentoerpconnect_partner_fiscal_category
3.magentoerpconnect_payment
4.magentoerpconnect_product_variant
5.magentoerpconnect_report_synchronizer

1. magentoerpconnect_bundle
require sale_bundle_product, try both lp:openobject-addons/extra-6.0 & lp:openobject-addons/extra-trunk, failed.

http://apps.openerp.com/addon/6068?filter=%7B%22order_by%22%3A+%22click_counter+desc%22%2C+%22text_search%22%3A+%22sale_bundle_product%22%7D&page=0

Install magentoerpconnect_bundle occur error

Client Traceback (most recent call last):
  File "D:\OpenERP 6.1\Server\server\openerp\addons\web\common\http.py", line 180, in dispatch
  File "D:\OpenERP 6.1\Server\server\openerp\addons\web\controllers\main.py", line 1052, in call_button
  File "D:\OpenERP 6.1\Server\server\openerp\addons\web\controllers\main.py", line 996, in call_common
  File "D:\OpenERP 6.1\Server\server\openerp\addons\web\controllers\main.py", line 1010, in _call_kw
  File "D:\OpenERP 6.1\Server\server\openerp\addons\web\common\openerplib\main.py", line 250, in proxy
  File "D:\OpenERP 6.1\Server\server\openerp\addons\web\common\openerplib\main.py", line 117, in proxy
  File "D:\OpenERP 6.1\Server\server\openerp\addons\web\common\http.py", line 608, in send

Server Traceback (most recent call last):
  File "D:\OpenERP 6.1\Server\server\openerp\addons\web\common\http.py", line 593, in send
  File "D:\OpenERP 6.1\Server\server\.\openerp\netsvc.py", line 360, in dispatch_rpc
  File "D:\OpenERP 6.1\Server\server\.\openerp\service\web_services.py", line 586, in dispatch
  File "D:\OpenERP 6.1\Server\server\.\openerp\osv\osv.py", line 167, in execute_kw
  File "D:\OpenERP 6.1\Server\server\.\openerp\osv\osv.py", line 121, in wrapper
  File "D:\OpenERP 6.1\Server\server\.\openerp\osv\osv.py", line 176, in execute
  File "D:\OpenERP 6.1\Server\server\.\openerp\osv\osv.py", line 164, in execute_cr
  File "D:\OpenERP 6.1\Server\server\openerp\addons\base\module\wizard\base_module_upgrade.py", line 101, in upgrade_module
  File "D:\OpenERP 6.1\Server\server\.\openerp\pooler.py", line 39, in restart_pool
  File "D:\OpenERP 6.1\Server\server\.\openerp\modules\registry.py", line 202, in new
  File "D:\OpenERP 6.1\Server\server\.\openerp\modules\loading.py", line 338, in load_modules
  File "D:\OpenERP 6.1\Server\server\.\openerp\modules\loading.py", line 253, in load_marked_modules
  File "D:\OpenERP 6.1\Server\server\.\openerp\modules\loading.py", line 192, in load_module_graph
  File "D:\OpenERP 6.1\Server\server\.\openerp\modules\loading.py", line 90, in <lambda>
  File "D:\OpenERP 6.1\Server\server\.\openerp\modules\loading.py", line 132, in _load_data
  File "D:\OpenERP 6.1\Server\server\.\openerp\tools\convert.py", line 970, in convert_csv_import
  File "D:\OpenERP 6.1\Server\server\.\openerp\osv\orm.py", line 1412, in import_data
  File "D:\OpenERP 6.1\Server\server\.\openerp\osv\orm.py", line 1341, in process_liness
KeyError: 'type_id'

2. magentoerpconnect_partner_fiscal_category

require account_fiscal_rules_partner_category & account_fiscal_position_rule_m2m from lp:c2c-financial-addons branch
and require account_fiscal_position_rule from lp:openobject-addons, tried lp:openobject-addons/extra-6.0 & lp:openobject-addons/extra-trunk, failed with error:-

Client Traceback (most recent call last):
  File "D:\OpenERP 6.1\Server\server\openerp\addons\web\common\http.py", line 180, in dispatch
  File "D:\OpenERP 6.1\Server\server\openerp\addons\web\controllers\main.py", line 1052, in call_button
  File "D:\OpenERP 6.1\Server\server\openerp\addons\web\controllers\main.py", line 996, in call_common
  File "D:\OpenERP 6.1\Server\server\openerp\addons\web\controllers\main.py", line 1010, in _call_kw
  File "D:\OpenERP 6.1\Server\server\openerp\addons\web\common\openerplib\main.py", line 250, in proxy
  File "D:\OpenERP 6.1\Server\server\openerp\addons\web\common\openerplib\main.py", line 117, in proxy
  File "D:\OpenERP 6.1\Server\server\openerp\addons\web\common\http.py", line 608, in send

Server Traceback (most recent call last):
  File "D:\OpenERP 6.1\Server\server\openerp\addons\web\common\http.py", line 593, in send
  File "D:\OpenERP 6.1\Server\server\.\openerp\netsvc.py", line 360, in dispatch_rpc
  File "D:\OpenERP 6.1\Server\server\.\openerp\service\web_services.py", line 586, in dispatch
  File "D:\OpenERP 6.1\Server\server\.\openerp\osv\osv.py", line 167, in execute_kw
  File "D:\OpenERP 6.1\Server\server\.\openerp\osv\osv.py", line 121, in wrapper
  File "D:\OpenERP 6.1\Server\server\.\openerp\osv\osv.py", line 176, in execute
  File "D:\OpenERP 6.1\Server\server\.\openerp\osv\osv.py", line 164, in execute_cr
  File "D:\OpenERP 6.1\Server\server\openerp\addons\base\module\wizard\base_module_upgrade.py", line 101, in upgrade_module
  File "D:\OpenERP 6.1\Server\server\.\openerp\pooler.py", line 39, in restart_pool
  File "D:\OpenERP 6.1\Server\server\.\openerp\modules\registry.py", line 202, in new
  File "D:\OpenERP 6.1\Server\server\.\openerp\modules\loading.py", line 338, in load_modules
  File "D:\OpenERP 6.1\Server\server\.\openerp\modules\loading.py", line 253, in load_marked_modules
  File "D:\OpenERP 6.1\Server\server\.\openerp\modules\loading.py", line 192, in load_module_graph
  File "D:\OpenERP 6.1\Server\server\.\openerp\modules\loading.py", line 90, in <lambda>
  File "D:\OpenERP 6.1\Server\server\.\openerp\modules\loading.py", line 132, in _load_data
  File "D:\OpenERP 6.1\Server\server\.\openerp\tools\convert.py", line 970, in convert_csv_import
  File "D:\OpenERP 6.1\Server\server\.\openerp\osv\orm.py", line 1412, in import_data
  File "D:\OpenERP 6.1\Server\server\.\openerp\osv\orm.py", line 1341, in process_liness
KeyError: 'type_id'

3. magentoerpconnect_payment

failed to install due to magentoerpconnect_partner_fiscal_category failed. (I have cancel install of magentoerpconnect_partner_fiscal_category, but magentoerpconnect_partner_fiscal_category will be also include in install list while I try to install magentoerpconnect_payment, so only error of install magentoerpconnect_partner_fiscal_category showed.

4. magentoerpconnect_product_variant require product_variant_multi, try with the one from lp:openobject-addons/extra-trunk, the same error as magentoerpconnect_payment

5. magentoerpconnect_report_synchronizer failed for the same reason.

Diego Madrigali (burdo3417) said : #7

I get an error too when installing base_sale_multichannel.

I tried installing the module from older revisions but It didnt work

Can you help with this problem?

Provide an answer of your own, or ask Nick Prakash for more information if necessary.

To post a message you must log in.