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

Hello everyone, in advance thanks for your answers.

I need to define by default, throughout the project, that all Many2one relationships have index = True. Any ideas?.

In a class it is enough to define this property to the field, but in the project there are several relationships that do not have this attribute. What I require is somehow, in some superclass I invent, define all these relationships index = True and that automatically assign them. So you do not have to go one by one and assign it manually.

Pyton, Open ERP, Odoo, ORM

Thank you.

아바타
취소
관련 게시물 답글 화면 활동
Download Odoo 8 해결 완료
1
5월 22
26223
7
10월 17
13314
0
3월 17
4413
0
11월 16
8595
2
4월 16
7140