thaond / magento-openerp-smile-synchro

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

'module' object has no attribute 'do_export' #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install magento-openerp-smile-synchro  module
2. Edit a product (I tried with several products, even a new one)
3. Save the product
You get the message : 'module' object has no attribute 'do_export'

Traceback (most recent call last):
  File "netsvc.pyo", line 200, in _dispatch
  File "service\web_services.pyo", line 366, in execute
  File "osv\osv.pyo", line 111, in execute
  File "osv\osv.pyo", line 92, in execute_cr
  File "E:\Program Files\TinyERP Server\addons\magento_openerp\magento.py",
line 53, in write
AttributeError: 'module' object has no attribute 'do_export'

This doesn't occur when you create a new product, only when you save after
editing, after the first save (when creating)

What is the expected output? What do you see instead?
Expected : no error
What I see : the error message "Traceback (most recent call last):
  File "netsvc.pyo", line 200, in _dispatch
  File "service\web_services.pyo", line 366, in execute
  File "osv\osv.pyo", line 111, in execute
  File "osv\osv.pyo", line 92, in execute_cr
  File "E:\Program Files\TinyERP Server\addons\magento_openerp\magento.py",
line 53, in write
AttributeError: 'module' object has no attribute 'do_export'
"

What version of the product are you using? On what operating system?
Tiny ERP - Client GTK - v4.2.3.3
magento_openerp_smile-0.9.8  

I tried this on several machines, and OS (windows) : vista AND XP both have
the problem, after a clean install of tinyerp (deleted also registry keys,
files, and DB before reinstalling)

Same problem regardless I use postgress 8.2 or 8.3...

Thank you very much for your help.

Original issue reported on code.google.com by sa...@discountizer.be on 13 Oct 2008 at 9:50

GoogleCodeExporter commented 8 years ago
I forgot to mention : synchro does work with magento... New products from tiny, 
are
created in magento.

Only when I edit a product, I get the error..

Thx

Original comment by sa...@discountizer.be on 13 Oct 2008 at 9:54

GoogleCodeExporter commented 8 years ago

Original comment by rva...@gmail.com on 14 Oct 2008 at 11:06

GoogleCodeExporter commented 8 years ago
We will fix this soon, in any case it seems a fix has been found, see that 
discussion
http://groups.google.com/group/magento-openerp/browse_thread/thread/b1818acbcd01
3603

Thank you for the report.

Original comment by rva...@gmail.com on 16 Oct 2008 at 1:58

GoogleCodeExporter commented 8 years ago
OK, thanks for the link. I didn't see this fix. That's good news :-)

I'll try this fix this evening, since I'm away from (this) computer now.

Thanks for your help.

Original comment by sa...@discountizer.be on 16 Oct 2008 at 7:02

GoogleCodeExporter commented 8 years ago
Hi, just commited the bug fix on trunk and latest version.

Original comment by GrouhPamart on 20 Oct 2008 at 8:18