OpenERP 8 Gamification Module Keyerror
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Gamification module in OpenERP 8 is showing key error.
To reproduce this error,
1) Create a new goal definition with "Computation Method" as "Automatic: sum on a field", "Model" as "sale.order.line" and "Field to Sum" as "product_uom_qty"
2) Create a new Challenges with "Periodicity" as "Monthly", "Start Date and End Date" as "04/01/2014 and 05/20/2014" respectively. Add the new goal definition in Goal with "Target value to reach" as 10000.
3) When the scheduler "Run Goal Challenge Checker" is run, its giving an error in server log as
2014-04-30 06:57:17,074 11901 ERROR OpenERP_8_30_apr openerp.
Traceback (most recent call last):
File "/home/
getattr(model, method_name)(cr, uid, *args)
File "/home/
self.write(cr, uid, planned_
File "/home/
self.
File "/home/
goal_
File "/home/
res = obj.read_group(cr, uid, domain, [field_name], [''], context=context)
File "/home/
for gb in groupby_list]
File "/home/
field_type = self._all_
KeyError: ''
Hello,
This was fixed with trunk revision 9290.
Regards