콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
4015 화면

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

아바타
취소
관련 게시물 답글 화면 활동
1
6월 23
2107
1
5월 23
2051
1
10월 22
4200
0
5월 20
3213
2
1월 20
8843