İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
3174 Görünümler

how to add new magic columns to all models?

i want to add new field to all models automatically, just like the MAGIC_COLUMNS.

But without modifying the ORM itself

Avatar
Vazgeç
En İyi Yanıt

LOG_ACCESS_COLUMNS and MAGIC_COLUMNS added to all models automatically by ORM 
https://github.com/odoo/odoo/blob/13.0/odoo/models.py#L241
can you explain bit more what do you want to achieve ?

Avatar
Vazgeç
Üretici

i want to add new field to all models automatically

just like the MAGIC_COLUMNS

But without modifying the ORM itself

İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Ağu 24
1205
1
Tem 24
2017
1
Mar 22
4802
0
Mar 21
1982
0
May 20
2400