c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #26193
[Bug 790636] Re: NameError: global name 'db_name' is not defined
** Summary changed:
- UOM can't save
+ NameError: global name 'db_name' is not defined
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/790636
Title:
NameError: global name 'db_name' is not defined
Status in OpenERP Server:
Fix Committed
Bug description:
trunk, revno 4750
From sales/Configuration/Product/Units of measure
Create new record and save it, you have faced the following traceback
Traceback (most recent call last):
File "/home/nch/workspace/OpenERP2011/Trunk/server/openerp/netsvc.py", line 428, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/nch/workspace/OpenERP2011/Trunk/server/openerp/service/web_services.py", line 579, in dispatch
res = fn(db, uid, *params)
File "/home/nch/workspace/OpenERP2011/Trunk/server/openerp/osv/osv.py", line 133, in wrapper
self.abortResponse(1, _('Constraint Error'), 'warning',
File "/home/nch/workspace/OpenERP2011/Trunk/server/openerp/osv/osv.py", line 117, in _
return tr(src, 'code')
File "/home/nch/workspace/OpenERP2011/Trunk/server/openerp/osv/osv.py", line 106, in tr
cr = sql_db.db_connect(db_name).cursor()
NameError: global name 'db_name' is not defined
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/790636/+subscriptions
References