Some bugs to save a new rule.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Sales Promotions in Open ERP |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hello,
When add new rule and save it, don't appers in the tree view. I have checked the database and the rule is save with their conditions and actions.
If you save the rule without coupon send this error:
Environment Information :
System : Linux-2.
OS Name : posix
LSB Version: core-2.
Distributor ID: SUSE LINUX
Description: openSUSE 11.1 (x86_64)
Release: 11.1
Codename: n/a
Operating System Release : 2.6.27.
Operating System Version : #1 SMP 2010-09-20 11:03:26 -0400
Operating System Architecture : 64bit
Operating System Locale : es_ES.UTF8
Python Version : 2.5.4
OpenERP-Client Version : 5.0.14
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/media/
result = LocalService(
File "/media/
return getattr(self, method)(*params)
File "/media/
res = service.execute(db, uid, object, method, *args)
File "/media/
return f(self, dbname, *args, **kwargs)
File "/media/
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/media/
return getattr(object, method)(cr, uid, *args, **kw)
File "/media/
result = self._read_flat(cr, user, select, fields, context, load)
File "/media/
record[f] = res2[record['id']]
KeyError: 6
If I add the coupon number the error continues and I can save more.
Greetings
Changed in oosalespromotions: | |
status: | New → Fix Released |
I forget something, when save a rule without coupon code. Despite of this error, the rule is saved in the database.