Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
4032 Weergaven

In openerp 7 char data type float value stored. In list view sorting value how to change the char to float ?

In SQL Editor the below code is used:-

select char_value from cvw_patientintake order by cast(char_value as float) asc

select char_value from cvw_patientintake order by cast(char_value as float) desc

The above code how to apply in openerp custom module overriden search function is any sample code available?

Thanks in advance

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
jun. 23
2119
1
mei 23
2069
1
okt. 22
4225
0
mei 20
3225
2
jan. 20
8865