inialize the variable i=0
--
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
_______________________________________________
Mailing list: https://launchpad.net/~openerp-india
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-india
More help : https://help.launchpad.net/ListHelp