c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #37642
[Bug 891500] [NEW] UnboundLocalError: local variable 'i' referenced before assignment
Public bug reported:
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
** Affects: openobject-server
Importance: Low
Assignee: OpenERP's Framework R&D (openerp-dev-framework)
Status: Confirmed
** Changed in: openobject-server
Importance: Undecided => Low
** Changed in: openobject-server
Status: New => Confirmed
** Changed in: openobject-server
Assignee: (unassigned) => OpenERP's Framework R&D (openerp-dev-framework)
--
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:
Confirmed
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
Follow ups
References