analytic_user_function KeyError: 'amount'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP R&D Addons Team 3 |
Bug Description
It seems the module analytic_
module: analytic_
branch: http://
revno: 4543
steps to reproduce:
- install modules analytic_
- open analytic account "OpenERP Integration"
- in tab Users/Products Rel, add a line (User=Fabian, Product=Service on Timesheet)
- create a timesheet for user Fabian
- add a timesheet line
- in the new timesheet line select Analytic Account "OpenERP Integration"
- tab to next field and you get the stack trace below
Environment Information :
System : Linux-2.
OS Name : posix
LSB Version: core-2.
Distributor ID: Ubuntu
Description: Ubuntu 10.10
Release: 10.10
Codename: maverick
Operating System Release : 2.6.35-28-generic
Operating System Version : #50-Ubuntu SMP Fri Mar 18 19:00:26 UTC 2011
Operating System Architecture : 32bit
Operating System Locale : fr_BE.UTF8
Python Version : 2.6.6
OpenERP-Client Version : 6.0.2
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/home/
result = ExportService.
File "/home/
res = fn(db, uid, *params)
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
r.product_
KeyError: 'amount'
Related branches
- Mustufa Rangwala (Open ERP) (community): Approve
- Priyesh (OpenERP) (community): Needs Resubmitting
- qdp (OpenERP): Pending requested
-
Diff: 36 lines (+10/-9)1 file modifiedanalytic_user_function/analytic_user_function.py (+10/-9)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
milestone: | none → 6.1 |
Changed in openobject-addons: | |
status: | Fix Committed → Fix Released |
Hello,
I have fixed it in https:/ /code.launchpad .net/~openerp- dev/openobject- addons/ trunk-bug- 768968- pso
Rev-Id: <email address hidden>
Rev-no: 4664
It will be merged soon with Addons branch.
Thanks for reporting.