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

How can I store this value from this function in odoo database?

'sumaactualp': fields.function(_calc_inventory_value_test, string="Gesamtpreis", type='float'),


I mean when I uninstall the module, I lose all the values .


아바타
취소
베스트 답변

Hello,

You can use store property of function field. 

See below link for function field definition.

https://doc.odoo.com/6.0/developer/2_5_Objects_Fields_Methods/field_type/


 


아바타
취소
작성자

with store=True?

관련 게시물 답글 화면 활동
0
11월 16
3892
4
9월 24
21732
4
1월 24
14360
4
12월 24
31458
5
6월 21
24351