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

I need to upgrade a module from 9 to 10, and use the openerp / osv / fields.py module to use the field (funtion).

I have checked in the odoo 10 and I see that the fields.py is not being, how can I do it?

아바타
취소
베스트 답변

This is an obligatory read when converting from the old-api style to the new-api style introduced in v8 and the only option in v10

https://www.odoo.com/documentation/10.0/reference/orm.html

아바타
취소
베스트 답변

Hi. Not sure what you mean, but guess the following would be enough:

from odoo import fields
아바타
취소
관련 게시물 답글 화면 활동
7
9월 21
28490
4
3월 19
9827
1
8월 18
3755
1
1월 18
6769
0
8월 25
5