You have been assigned a bug task for a public bug by Anup (OpenERP)
(ach-openerp):
extra-trunk/chricar_tools_export was used to create default export list
with ALL fields of a model
reason: the field is not available in the form view, but in the export
lists
IMHO the client should gracefully only display fields for export which are
available/visible in the view for the current user
regardless if these are missing or just hidden.olding different fields.
I am thinking about hidden fields ( groups="base.group_extended")
I also think about models with different view definitions h
A stock worker should not be able to export the same fields as the stock
manager using the stockmanagers predefined
list
Example
Traceback (most recent call last):
File "/sw/home/gass/OpenERP/trunk/openobject-client/bin/modules/gui/main.py",
line 1324, in _sig_child_call
res = wid.handlers[button_name]()
File
"/sw/home/gass/OpenERP/trunk/openobject-client/bin/modules/gui/window/form.py",
line 286, in sig_save_as
win = win_export.win_export(self.model, self.screen.ids_get(),
self.screen.fields, fields, parent=self.window, context=self.context)
File
"/sw/home/gass/OpenERP/trunk/openobject-client/bin/modules/gui/window/win_export.py",
line 213, in __init__
self.fill_predefwin()
File
"/sw/home/gass/OpenERP/trunk/openobject-client/bin/modules/gui/window/win_export.py",
line 280, in fill_predefwin
self.predef_model.append(([f['name'] for f in fields], export['name'], ',
'.join([self.fields_data[f['name']]['string'] for f in fields])))
KeyError: u'ean13'
** Affects: openobject-client
Importance: Undecided
Assignee: OpenERP sa GTK client R&D (openerp-dev-gtk)
Status: Confirmed
** Affects: openobject-client-kde
Importance: Undecided
Status: New
** Affects: openobject-client-web
Importance: Wishlist
Status: New
--
[6.0RC1] export form does not open - error
https://bugs.launchpad.net/bugs/665733
You received this bug notification because you are a member of OpenERP sa GTK
client R&D, which is a bug assignee.
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp