openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #01411
[Bug 891500] Re: UnboundLocalError: local variable 'i' referenced before assignment
Thanks! Fix landed in trunk:
revno: 3811
revision-id: vmt@xxxxxxxxxxx-20111118091854-cebg3ab85m3iaqw9
** Changed in: openobject-server
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/891500
Title:
UnboundLocalError: local variable 'i' referenced before assignment
Status in OpenERP Server:
Fix Released
Bug description:
Administration/Configuration/Sequences & Identifiers/Sequences
Change the implementation field "No gap" save it, again select the "Standard" on same field save the record. It gives a following error.
Traceback (most recent call last):
File "/home/amp/workspace/trunk6/server/openerp/osv/osv.py", line 120, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/amp/workspace/trunk6/server/openerp/osv/osv.py", line 172, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/amp/workspace/trunk6/server/openerp/osv/osv.py", line 163, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/amp/workspace/trunk6/server/openerp/addons/base/ir/ir_sequence.py", line 164, in write
self._create_sequence(cr, row['id'], i, n)
UnboundLocalError: local variable 'i' referenced before assignment
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/891500/+subscriptions
References