Qt/KDE OpenObject Client

[6.0RC1] export form does not open - error

Reported by Ferdinand on 2010-10-23
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KDE OpenObject Client
Undecided
xrg
OpenERP GTK Client
Wishlist
OpenERP sa GTK client R&D
OpenERP Web Client
Wishlist
OpenERP R&D Web Team

Bug Description

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'

Ferdinand (office-chricar) wrote :

WEB and Koo open the export form but do not display the default list for forms which do not have all fields of the export list

Navrang Oza (noz-tiny) on 2010-10-26
Changed in openobject-client-web:
importance: Undecided → Wishlist
Changed in openobject-client:
status: New → Confirmed
assignee: nobody → OpenERP sa GTK client R&D (openerp-dev-gtk)
Changed in openobject-client:
importance: Undecided → Medium
tfr (Openerp) (tfr) on 2010-11-22
Changed in openobject-client:
milestone: none → 6.0-rc2
tfr (Openerp) (tfr) on 2010-11-23
Changed in openobject-client:
importance: Medium → Wishlist
Changed in openobject-client-web:
status: New → Confirmed
assignee: nobody → OpenERP SA's Web Client R&D (openerp-dev-web)
Changed in openobject-client:
milestone: 6.0-rc2 → none
Ferdinand (office-chricar) wrote :

@Jay
please assign to GTK Team, it works with Web !!!

Koo does not have a v6 branch yet.

Changed in openobject-client-kde:
status: New → Invalid

On Friday 24 December 2010, you wrote:
> Koo does not have a v6 branch yet.
>
> ** Changed in: openobject-client-kde
> Status: New => Invalid

Well, it has... ;)

Changed in openobject-client-kde:
status: Invalid → New
assignee: nobody → xrg (xrg)

A Dissabte, 25 de desembre de 2010, P. Christeas va escriure:
> ;)

Right, yet they should report bug to you! ;-)

--
Albert Cervera i Areny
http://www.NaN-tic.com
OpenERP Partners
Tel: +34 93 553 18 03

http://twitter.com/albertnan
http://www.nan-tic.com/blog

A Dissabte, 25 de desembre de 2010, P. Christeas va escriure:
> On Friday 24 December 2010, you wrote:
> > Koo does not have a v6 branch yet.
> >
> > ** Changed in: openobject-client-kde
> >
> > Status: New => Invalid
>
> Well, it has... ;)

Ups! I just realized you also have that branch published in launchpad. Do you
want me to reopen the bug?

--
Albert Cervera i Areny
http://www.NaN-tic.com
OpenERP Partners
Tel: +34 93 553 18 03

http://twitter.com/albertnan
http://www.nan-tic.com/blog

Navrang Oza (noz-tiny) wrote :

It should be Fixed Released for Web Client as said by Ferdinand that its working fine in web client.
Thanks.

Changed in openobject-client-web:
status: Confirmed → Fix Released
milestone: none → 6.0
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers