o2m widget - tree - attribute invisible not respected

Bug #556638 reported by Ferdinand
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KDE OpenObject Client
New
Undecided
Unassigned

Bug Description

<tree string="Waste" editable="bottom">
 <field name="quantity" sum="Quantity" on_change="on_change_quant ......(snip)
 <field name="location_id" invisible="True"/>
 <field name="location_dest_id" invisible="True"/>
 .....

invisible fields are displayed (works in GTK and WEB)

IMHO there must be some magic , because I am very sure that I have seen this already working in my test DB

(I have the impression sometimes Koo behaves a bit different than the 2 other clients - I have also problems printing with report_openoffice - started from Koo - ONE summary line is not printed correctly which is OK starting from GTK)

same user, same record

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

the magic was ME - I think I have added the invisible fields as last action - so I din't remark the problem earlier.

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

any chance to get this fixed soon?
thanks

Revision history for this message
Albert Cervera i Areny - http://www.NaN-tic.com (albert-nan) wrote : Re: [Bug 556638] Re: o2m widget - tree - attribute invisible not respected

A Dissabte, 15 de maig de 2010, Ferdinand @ ChriCar va escriure:
> any chance to get this fixed soon?

No sorry, do not expect this to be fixed any time soon.

> thanks

--
Albert Cervera i Areny
http://www.NaN-tic.com
OpenERP Partner
Mòbil: +34 669 40 40 18

Revision history for this message
Borja López Soilán (NeoPolus) (borjals) wrote :

Ferdinand, did you try with invisible="1" instead of invisible="True"? (we had a similar problem that we solved like that: Koo was not parsing "True" as being true)

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

tried without success -(see Albert's comment)

Revision history for this message
Albert Cervera i Areny - http://www.NaN-tic.com (albert-nan) wrote :

A Dilluns, 17 de maig de 2010, Borja López Soilán (Pexego) va escriure:
> Ferdinand, did you try with invisible="1" instead of invisible="True"?
> (we had a similar problem that we solved like that: Koo was not parsing
> "True" as being true)

It's a matter of Koo's ability to store column widths on a per view/user
basis. This is a very good functionality but has some issues with views in
which some columns are shown/hidden depending on context, because in Qt a
hidden column, it's in reality a column with 0 width.

--
Albert Cervera i Areny
http://www.NaN-tic.com
OpenERP Partner
Mòbil: +34 669 40 40 18

Revision history for this message
Borja López Soilán (NeoPolus) (borjals) wrote :

Thanks Albert for the explanation :)

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

Other bug subscribers

Remote bug watches

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