OCA / connector-magento

Connect Odoo with Magento
http://odoo-magento-connector.com/
GNU Affero General Public License v3.0
105 stars 207 forks source link

magentoerpconnect_pricing #189

Open tomwic opened 8 years ago

tomwic commented 8 years ago

Hi,

I assigned price-list to website and got following error at checkpoint:

File "/root/connector-magento-8.0a/magentoerpconnect/unit/export_synchronizer.py", line 100, in _should_import MAGENTO_DATETIME_FORMAT) File "/usr/lib/python2.7/_strptime.py", line 325, in _strptime (data_string, format)) ValueError: time data '2015-12-30 21:26:51' does not match format '%Y/%m/%d %H:%M:%S'

What is not OK with date? Language option are on Storeview (English (UK)). In Magento locale is set to en_GB.

Br, Tomek

tomwic commented 8 years ago

For same task webside_id is included which is incorrect. should be 4 instead of 5.

openerp.addons.magentoerpconnect_pricing.product.export_product_price('magento.product.product', 579, website_id=5)

tomwic commented 8 years ago

So module selected wrong website_id, Any comments?

guewen commented 8 years ago

So module selected wrong website_id, Any comments?

Please open a dedicated issue with more details and you came to the conclusion it is the wrong ID.