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

When creating a dynamic view with dynamic fields (by inheriting fields_get) and then placing them inside the view by inheriting fields_view_get, how does one set the default values for these fields?

I tried overriding def default_get() with no success.I updated the fields_list manually (fields are not in here if they are created dynamically) and updated the result of the parent method, nothing has effect

Any suggestions please?

아바타
취소

did you manage to figure this out by any chance? I'm on your exact problem.

작성자

I'm sorry Drew I'm afraid I didn't, it has been a long time ago but still no solution was found to what I remember.Most people keep saying that it should work with default_get but idk...vote the question up so it gets more attention

that's too bad because what seems to be a simple task should be equally easy to point out (if it's just "default_get"). I find that the OpenERP community is quite poor, even secretive in some cases since companies make money on the services and "spread the knowledge" isn't entirely within their scope. I find the best route is to actually go into the OpenERP code and figure it all out, but in some cases you want to go a completely unique route.

관련 게시물 답글 화면 활동
3
5월 25
1838
1
4월 25
1372
3
9월 24
14333
2
2월 24
2554
1
7월 23
2789