export of analysis trees does not allow to select fields

Bug #748243 reported by Ferdinand
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo GTK Client (MOVED TO GITHUB)
Confirmed
Wishlist
OpenERP sa GTK client R&D

Bug Description

example invoice analysis
WEB works
GTK no fields are selectable

affects: openobject-client-web → openobject-client
summary: - export of analysis trees does not return correct data
+ export of analysis trees does not allow to select fields
Revision history for this message
DBR (OpenERP) (dbr-openerp) wrote :

Thanks For Reporting.

Changed in openobject-client:
assignee: nobody → OpenERP sa GTK client R&D (openerp-dev-gtk)
importance: Undecided → Low
status: New → Confirmed
Changed in openobject-client:
importance: Low → Wishlist
Revision history for this message
tfr (Openerp) (tfr) wrote :

This feature is not implemented yet, but we should totally do it.
It's not really a bug but more a feature request for the gtk.
I change this bug for as whishlist but we will consider the demand for this feature

Revision history for this message
Ferdinand (office-chricar) wrote :

@tfr
good to hear
IMHO the export (and import) must get much attention
the reporting of OpenERP is still far away from beeing state of the art hence the only way to present data is to export these
the "only" workaround to get data from analysis now is to copy paste the screen content as neither GTK not WEB
(see https://bugs.launchpad.net/bugs/748254) are working.

and the export should be (also) xls - anything else (CSV) is far beyond most users capability - especially when it comes to LANG problems (decimal separator, date format)
as I said Koo works fine
the package is http://pypi.python.org/pypi/xlwt

Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello Ferdinand,

Yes, If you look at the working of groupby and groupby_no_leaf you will surely understand this. When there is groupby_ no_leaf specified in the context means that the client will not make an extra rpc to the server to load the child values. only the parents(Group Records)will be loaded.

If you still want to Export your data then here is the workaround just remove the group_by_no_leaf from the context or set it to False and then Export you will get the records.

Correct me If I am missing something.

Thanks,

Revision history for this message
Ferdinand (office-chricar) wrote :

So why it is working in WEB ?
comment #2 says
"This feature is not implemented yet, but we should totally do it....."

it seems more that the code is broken or incomplete somewhere.

Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

If you allow child records too then what is the use of "no_leaf" ?

hmm, Its working in web because the web is making and extra call to the server.

but We can consider the wishlist only for the part that the group_by records i.e the headers should be allowed to export.

Thanks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.