c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #37819
[Bug 891500] Re: UnboundLocalError: local variable 'i' referenced before assignment
** Branch linked: lp:~openerp-dev/openobject-server/trunk-bug-891500-nch
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/891500
Title:
UnboundLocalError: local variable 'i' referenced before assignment
Status in OpenERP Server:
Fix Committed
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