Thanks for the bug report and sorry for the problem. The fix is in trunk
at revno: 3460, revision-id:
[email protected]
The funny thing is that I just corrected the problem myself when
checking Lint results. I should have done that before merging the
offending patch. Then I checked launchpad wondering why I hadn't seen
any bug report for that and I found this one.
Thanks again.
** Changed in: openobject-server
Status: Fix Committed => Fix Released
--
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 Released
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
_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help : https://help.launchpad.net/ListHelp