[6.1] error during csv import
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo GTK Client (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP sa GTK client R&D |
Bug Description
Traceback (most recent call last):
File "/home/
return f(w, *all_args)
File "/home/
res = wid.handlers[
File "/home/
res = win.go()
File "/home/
return import_csv(csv, inverted, self.model, self.fields_invert, context=
File "/home/
common.
File "/home/
win = ui_get_
NameError: global name 'ui_get_object' is not defined
the import vanishes without any further trace
Related branches
- OpenERP sa GTK client R&D: Pending requested
-
Diff: 11 lines (+1/-1)1 file modifiedbin/common/common.py (+1/-1)
- OpenERP Core Team: Pending requested
-
Diff: 11 lines (+1/-1)1 file modifiedbin/common/common.py (+1/-1)
Changed in openobject-client: | |
assignee: | nobody → OpenERP sa GTK client R&D (openerp-dev-gtk) |
importance: | Undecided → Medium |
the problem is that relevant error messages are only visible if the GTK client is started wiht debug_rpc_answer
DEBUG_RPC_ ANSWER: rpc.result: (-1, {'product_line': 'fix', 'name': 'Jam Ananas', 'type': 'product', 'uom_id': 2, 'name_engl': 'Jam Pineapple', 'categ_id': 11}, u'Line 1 : ValidateError\ nFehler w\xe4hrend der Pr\xfcfung des Feldes field(s) uom_id: Fehler: Die Standard Mengeneinheit sowie die Einkauf Mengeneinheit muss in derselben Kategorie sein.', '')
Traceback (most recent call last):