Hi all,

I had the same problem as you told before when I tried to use the close year 
widget: 

"/usr/lib/python2.5/site-packages/tinyerp-server/addons/account/wizard/wizard_fiscalyear_close.py",
 line 137, in _data_save
    'LIMIT %d OFFSET %d', (account.id,fy_id, limit, offset))
  File "/usr/lib/python2.5/site-packages/tinyerp-server/sql_db.py", line 73, in 
execute
    res = self.obj.execute(sql, p)
TypeError: not all arguments converted during string formatting

And I did replace the code of account/account_move_line.py with the one 
proposed by Dimas and it works great ! Thanks. I just hope that this code get 
the same result for the close year widget as the default one.

Let us know if there is some change about it, because I saw in the Openerp 5.0 
Alpha server's files that the code used for the close year widget is still the 
same as the one that don't work for us. So maybe our problem should come from 
elsewhere...

Regards

------------------------
André Kurz - www.hasa.ch - Open ERP Starter Partner
Hasa Sàrl - 1201 Genève




-------------------- m2f --------------------

--
http://www.openerp.com/forum/viewtopic.php?p=26525#26525

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to