Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
3170 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Auteur

i want to add new field to all models automatically

just like the MAGIC_COLUMNS

But without modifying the ORM itself

Publications associées Réponses Vues Activité
0
août 24
1205
1
juil. 24
2016
1
mars 22
4795
0
mars 21
1979
0
mai 20
2400