Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
4147 Widoki

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
Download Odoo 8 Rozwiązane
1
maj 22
25583
7
paź 17
13075
0
mar 17
4018
0
lis 16
8277
2
kwi 16
6903