account_budget not working

Bug #322535 reported by Fabien (Open ERP)
2
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

The module "account_budget" still not working if u install after the complete install of service profile (inclduing sell management, CRM, analytique budget,...).

Here under the error when u try to open the demo budget (optimist or pesimist ) :

Traceback (most recent call last):
 File "/home/tiny/server/bin/netsvc.py", line 226, in dispatch
   result = LocalService(service_name)(method, *params)
 File "/home/tiny/server/bin/netsvc.py", line 74, in __call__
   return getattr(self, method)(*params)
 File "/home/tiny/server/bin/service/web_services.py", line 481, in execute
   res = service.execute(db, uid, object, method, *args)
 File "/home/tiny/server/bin/osv/osv.py", line 59, in wrapper
   return f(self, dbname, *args, **kwargs)
 File "/home/tiny/server/bin/osv/osv.py", line 119, in execute
   res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
 File "/home/tiny/server/bin/osv/osv.py", line 111, in execute_cr
   return getattr(object, method)(cr, uid, *args, **kw)
 File "/home/tiny/server/bin/osv/orm.py", line 1867, in read
   result = self._read_flat(cr, user, select, fields, context, load)
 File "/home/tiny/server/bin/osv/orm.py", line 1978, in _read_flat
   res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
 File "/home/tiny/server/bin/osv/fields.py", line 626, in get
   res = self._fnct(obj, cr, user, ids, name, self._arg, context)
 File "/home/tiny/addons/account_budget/crossovered_budget.py", line 183, in _prac
   res[line.id]=self._prac_amt(cr,uid,[line.id],context=context)[line.id]
 File "/home/tiny/addons/account_budget/crossovered_budget.py", line 173, in _prac_amt
   "general_account_id in (%s)" % ",".join(['%s']*len(acc_ids)), (line.analytic_account_id.id,date_from,date_to,acc_ids))
 File "/home/tiny/server/bin/sql_db.py", line 76, in wrapper
   return f(self, *args, **kwargs)
 File "/home/tiny/server/bin/sql_db.py", line 117, in execute
   res = self._obj.execute(query, params)
ProgrammingError: operator does not exist: integer = integer[]
LINE 1: ...2008-12-31','yyyy-mm-dd')) and general_account_id in (ARRAY[...
                                                            ^
HINT: No operator matches the given name and argument type(s). You may need to add explicit type casts.

Changed in openobject-addons:
status: New → Fix Released
Revision history for this message
Fabien (Open ERP) (fp-tinyerp) wrote : Re: [Bug 322535] Re: account_budget not working

When do you sleep ?

Stephane (Open ERP) wrote:
> ** Changed in: openobject-addons
> Status: New => Fix Released
>

--
Fabien Pinckaers
CEO Tiny - OpenERP Editor
Chaussée de Namur 40
B-1367 Grand-Rosière
Belgium
Phone: +32.81.81.37.00
Fax: +32.81.73.35.01
Web: http://openerp.com

Great Achievements Start With Tiny Investments
   -- Marty, 2005

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.