c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #04482
[Bug 652281] Re: Some bugs to save a new rule.
Hello,
If I update openerp-server from 5.0.14 to 5.0.15 I can save the promos
without this error.
--
Some bugs to save a new rule.
https://bugs.launchpad.net/bugs/652281
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in Sales Promotions in Open ERP: New
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.6.27.48-0.3-default-x86_64-with-SuSE-11.1-x86_64
OS Name : posix
LSB Version: core-2.0-noarch:core-3.2-noarch:core-2.0-x86_64:core-3.2-x86_64:desktop-3.2-amd64:desktop-3.2-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.2-amd64:graphics-3.2-noarch
Distributor ID: SUSE LINUX
Description: openSUSE 11.1 (x86_64)
Release: 11.1
Codename: n/a
Operating System Release : 2.6.27.48-0.3-default
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/TOUGHDRIVE/Proyectos/erp/Demo/openerp-server-5.0.14/bin/netsvc.py", line 256, in dispatch
result = LocalService(service_name)(method, *params)
File "/media/TOUGHDRIVE/Proyectos/erp/Demo/openerp-server-5.0.14/bin/netsvc.py", line 76, in __call__
return getattr(self, method)(*params)
File "/media/TOUGHDRIVE/Proyectos/erp/Demo/openerp-server-5.0.14/bin/service/web_services.py", line 577, in execute
res = service.execute(db, uid, object, method, *args)
File "/media/TOUGHDRIVE/Proyectos/erp/Demo/openerp-server-5.0.14/bin/osv/osv.py", line 58, in wrapper
return f(self, dbname, *args, **kwargs)
File "/media/TOUGHDRIVE/Proyectos/erp/Demo/openerp-server-5.0.14/bin/osv/osv.py", line 119, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/media/TOUGHDRIVE/Proyectos/erp/Demo/openerp-server-5.0.14/bin/osv/osv.py", line 111, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/media/TOUGHDRIVE/Proyectos/erp/Demo/openerp-server-5.0.14/bin/osv/orm.py", line 2229, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/media/TOUGHDRIVE/Proyectos/erp/Demo/openerp-server-5.0.14/bin/osv/orm.py", line 2378, in _read_flat
record[f] = res2[record['id']]
KeyError: 6
If I add the coupon number the error continues and I can save more.
Greetings