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

I'm using OpenERP V7.  I needed to make the field product_product.qty_available sortable, so I inherited the product.product class and added the store=True to the field definition. Along the way I copied the function _product_available to my inherited class so the code does not crash. I know that this does not cope with the OO concepts

Now I need help in the following two points

1. how to make a function field sortable without appealing to store the field in the database

2. when inheriting a function field, how to do so without copying the function that calculates its value

아바타
취소

i'm also looking for the method how to make function field sortable :( So far i got nothing. Maybe not nothing but still not sorted it out ;(

관련 게시물 답글 화면 활동
2
2월 19
6426
1
4월 23
4080
2
1월 18
5418
0
6월 17
4627
1
2월 24
2081