c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #13753
[Bug 703288] Re: V5 - account_v6_reports_backport - missing company_id in account_move_line
Hello Dr. Ferdinand,
Can you please describe when do you happen to meet this problem?
Thanks.
** Changed in: openobject-addons
Status: Triaged => Incomplete
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/703288
Title:
V5 - account_v6_reports_backport - missing company_id in
account_move_line
Status in OpenERP Modules (addons):
Incomplete
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
References