narigao / magento-openerp-smile-synchro

Automatically exported from code.google.com/p/magento-openerp-smile-synchro
0 stars 0 forks source link

Product - unchecking "Export to website" #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

1. Creating a product in openERP checking "Export to website" (product is
listed in magento)
2. Editing the product in openERP unchecking "Export to website"
3. Getting "No module named wizard"

openerp-server says:

Traceback (most recent call last):
File "/usr/src/openerp-server-5.0.0-rc1.1/bin/osv/osv.py", line 85, in
execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/root/openerp-server/bin/addons/magento_openerp/magento.py", line 60,
in write
wizard.magento_product_synchronize.do_export(self, cr, uid, datas, context)
File
"/root/openerp-server/bin/addons/magento_openerp/wizard/magento_product_synchron
ize.py",
line 72, in do_export
raise wizard.except_wizard("Error", "you asked to export non-exportable
products : IDs %s" % prod_not)
except_wizard: ('Error', 'you asked to export non-exportable products : IDs
[2]')

It happens with openerp-server-5.0.0-rc1.1 and Magento 1.1.8

Trying to set "Magento product id" to 0, openERP saves product, but magento
returns "Magento Export:Magento API return an error on product id 2 . Error
<Fault 1: 'Il valore dell\'attributo "SKU" deve essere unico'>" (value of
attribute SKU must be unique)

Original issue reported on code.google.com by eLBaddy on 17 Dec 2008 at 11:16

GoogleCodeExporter commented 9 years ago
Basically, it's just trying to open an error popup with that message:
'Error', 'you asked to export non-exportable products : IDs
[2]'

But for an unknown reason it doesn't manage to raise the popup because the 
module
wizard isn't found; I don't know why, I will test that later on. Thanks for the 
report.

Original comment by rva...@gmail.com on 19 Dec 2008 at 2:20

GoogleCodeExporter commented 9 years ago
The wizard issue could be a lower issue. My trouble was: cannot I remove from 
magento
products previously added? What if I wanted to remove products from magento but
keeping to manage them by openERP?

Thanks

Original comment by eLBaddy on 19 Dec 2008 at 9:01

GoogleCodeExporter commented 9 years ago
Furthermore, I was not trying to "export non-exportable products", I was trying 
to
unckeck "Export to website" checkbox of a product. How should I do this?

Original comment by eLBaddy on 4 Jan 2009 at 12:18

GoogleCodeExporter commented 9 years ago
This same error is preventing me to edit products not exported to website. I 
never
checked "Export to website", I just created a product, then, trying to edit it, 
I get
that error "you asked to export non-exportable products"

Original comment by eLBaddy on 22 Jan 2009 at 2:59