c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #14925
[Bug 712327] Re: Duplicate View account
** Changed in: openobject-addons
Status: New => Confirmed
** Changed in: openobject-addons
Importance: Undecided => Medium
** Also affects: openobject-addons/6.0
Importance: Undecided
Status: New
** Also affects: openobject-addons/trunk
Importance: Medium
Status: Confirmed
--
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/712327
Title:
Duplicate View account
Status in OpenERP Modules (addons):
Confirmed
Status in OpenERP Addons 6.0 series:
New
Status in OpenERP Addons trunk series:
Confirmed
Bug description:
Hello,
Version : latest V6
When you duplicate an account with childs you will have error : this
is my use case
- Go to the menu : Accounting -> Configuration -> Account -> Accounts
- Select a view account
- Duplicate it
You will receive the error :
Environment Information :
System : Linux-2.6.32-28-generic-pae-i686-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 10.04.2 LTS
Release: 10.04
Codename: lucid
Operating System Release : 2.6.32-28-generic-pae
Operating System Version : #55-Ubuntu SMP Mon Jan 10 22:34:08 UTC 2011
Operating System Architecture : 32bit
Operating System Locale : en_US.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0.1
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/home/vrenaville/tmpinstance/DAILY6LP/server/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/vrenaville/tmpinstance/DAILY6LP/server/bin/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/home/vrenaville/tmpinstance/DAILY6LP/server/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/vrenaville/tmpinstance/DAILY6LP/server/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/vrenaville/tmpinstance/DAILY6LP/server/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/vrenaville/tmpinstance/DAILY6LP/server/bin/osv/orm.py", line 2922, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/home/vrenaville/tmpinstance/DAILY6LP/server/bin/osv/orm.py", line 3033, in _read_flat
res2 = self._columns[val[0]].get(cr, self, ids, val, user, context=context, values=res)
File "/home/vrenaville/tmpinstance/DAILY6LP/server/bin/osv/fields.py", line 793, in get
res = self._fnct(obj, cr, user, ids, name, self._arg, context)
File "/home/vrenaville/tmpinstance/DAILY6LP/server/bin/addons/account/account.py", line 305, in __compute
sums[current.id][fn] += sums[child.id][fn]
KeyError: 1477
Thanks for your precious help,
Vincent
References