Public bug reported:
Binary package hint: tinyerp-server
(hardy)
Description: Ubuntu 8.04
Release: 8.04
4.2.0-1ubuntu1 0
500 http://us.archive.ubuntu.com hardy/universe Packages
This is for 4.2.0 of both client and server, on Debian.
Create a new database, choose not to add the demo data.
>From the Chart of Accounts, double click to open Account Entry Line tab. When
>the database is empty of all account
entries, you get:
Traceback (most recent call last):
File "/usr/lib/tinyerp-server/netsvc.py", line 208, in _dispatch
r=m(*params)
File "/usr/lib/tinyerp-server/service/web_services.py", line 366, in execute
res = service.execute(db, uid, object, method, *args)
File "/usr/lib/tinyerp-server/osv/osv.py", line 111, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/tinyerp-server/osv/osv.py", line 92, in execute_cr
res = getattr(object,method)(cr, uid, *args, **kw)
File "/usr/share/tinyerp-server/addons/account/account_move_line.py", line
50, in default_get
data = self._default_get(cr, uid, fields, context)
File "/usr/share/tinyerp-server/addons/account/account_move_line.py", line
92, in _default_get
move = self.pool.get('account.move').browse(cr, uid, move_id, context)
File "/usr/lib/tinyerp-server/osv/orm.py", line 545, in browse
return browse_record(cr,uid,select,self,cache, context=context,
list_class=self._list_class)
File "/usr/lib/tinyerp-server/osv/orm.py", line 127, in __init__
assert id, 'Wrong ID for the browse record, got '+str(id)+ ', expected an
integer.'
AssertionError: Wrong ID for the browse record, got False, expected an integer.
Worse yet, you cannot enter a new entry, because it greys things out.
There is an upstream bug (I accidentally labeled it 4.2.2 but in fact this bug
only occurs in 4.2.0):
http://tinyforge.org/tracker/index.php?func=detail&aid=760&group_id=13&atid=129
The attached patch fixes it in 4.2.0; I was not able to reproduce the
error in 4.2.2
** Affects: tinyerp-server (Ubuntu)
Importance: Undecided
Status: New
** Tags: hardy
--
hardy, 4.2.0: No entries in any accounts causes error in Python client when
adding first entry
https://bugs.launchpad.net/bugs/242222
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs