openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #13615
[Bug 703288] Re: V5 - account_v6_reports_backport - missing company_id in account_move_line
Seems invalid.
Can still be reopened if faced again!
** Changed in: openobject-addons
Status: Incomplete => Invalid
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/703288
Title:
V5 - account_v6_reports_backport - missing company_id in
account_move_line
Status in OpenERP Addons (modules):
Invalid
Bug description:
return account.balance
File "/home/terp/OpenERP/branch/server/5.0/bin/osv/orm.py", line 239, in __getattr__
return self[name]
File "/home/terp/OpenERP/branch/server/5.0/bin/osv/orm.py", line 189, in __getitem__
datas = self._table.read(self._cr, self._uid, ids, fffields, context=self._context, load="_classic_write")
File "/home/terp/OpenERP/branch/server/5.0/bin/osv/orm.py", line 2229, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/home/terp/OpenERP/branch/server/5.0/bin/osv/orm.py", line 2355, in _read_flat
res2 = self._columns[val[0]].get(cr, self, ids, val, user, context=context, values=res)
File "/home/terp/OpenERP/branch/server/5.0/bin/osv/fields.py", line 659, in get
res = self._fnct(obj, cr, user, ids, name, self._arg, context)
File "/home/terp/OpenERP/branch/server/5.0/bin/addons/account/account.py", line 347, in __compute
" GROUP BY l.account_id " ) % (acc_set,acc_set_previous,))
File "/home/terp/OpenERP/branch/server/5.0/bin/sql_db.py", line 77, in wrapper
return f(self, *args, **kwargs)
File "/home/terp/OpenERP/branch/server/5.0/bin/sql_db.py", line 122, in execute
res = self._obj.execute(query, params)
ProgrammingError
LINE 1
works after adding company_id to account_move_line
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/703288/+subscriptions