Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
4285 Tampilan

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.

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
Download Odoo 8 Diselesaikan
1
Mei 22
25975
7
Okt 17
13211
0
Mar 17
4198
0
Nov 16
8379
2
Apr 16
7035