cannot install Any Chart of Account

Bug #735965 reported by Aline (OpenERP)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
High
OpenERP R&D Addons Team 3

Bug Description

i created a new db, i configured all configuration wizard (install all application), I configured the l10n_be -> bug :

Traceback (most recent call last):
  File "/home/aline/openerp/trunk/server/openerp/netsvc.py", line 410, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/aline/openerp/trunk/server/openerp/service/web_services.py", line 598, in dispatch
    res = fn(db, uid, *params)
  File "/home/aline/openerp/trunk/server/openerp/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/aline/openerp/trunk/server/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/aline/openerp/trunk/server/openerp/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/aline/openerp/trunk/server/openerp/addons/base/res/res_config.py", line 167, in action_next
    next = self.execute(cr, uid, ids, context=None)
  File "/home/aline/openerp/trunk/addons/account/installer.py", line 216, in execute
    f_ids = fy_obj.search(cr, uid, [('date_start', '<=', res['date_start']), ('date_stop', '>=', res['date_stop']), ('company_id', '=', res['company_id'])], context=context)
  File "/home/aline/openerp/trunk/server/openerp/osv/orm.py", line 1740, in search
    return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
  File "/home/aline/openerp/trunk/server/openerp/osv/orm.py", line 4005, in _search
    cr.execute('SELECT "%s".id FROM ' % self._table + from_clause + where_str + order_by + limit_str + offset_str, where_clause_params)
  File "/home/aline/openerp/trunk/server/openerp/sql_db.py", line 78, in wrapper
    return f(self, *args, **kwargs)
  File "/home/aline/openerp/trunk/server/openerp/sql_db.py", line 131, in execute
    res = self._obj.execute(query, params)
TypeError: not all arguments converted during string formatting

Related branches

Changed in openobject-addons:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
summary: - cannot install l10n_be
+ cannot install Any Chart of Account
Changed in openobject-addons:
status: Confirmed → In Progress
Changed in openobject-addons:
milestone: none → 6.1
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) wrote :

Hello Aline,

I have fixed the problem in lp:~openerp-dev/openobject-addons/trunk-bug-735965-mra

revision-id: mra@mra-laptop-20110316094846-h0o0srendhztgvve
revno: 4544

Thank you for reporting,
mra

Changed in openobject-addons:
status: In Progress → Fix Committed
Changed in openobject-addons:
status: Fix Committed → Fix Released
Revision history for this message
Aline (OpenERP) (apr-tinyerp) wrote :

I have still this bug

Changed in openobject-addons:
status: Fix Released → Confirmed
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) wrote :

I have tested with latest trunk version and i can install any chart of account (tried with belgium, generic chart, France) ..

Can you please retest it ?

Changed in openobject-addons:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.