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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
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 ?
i want to add new field to all models automatically
just like the MAGIC_COLUMNS
But without modifying the ORM itself
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-sePublicações relacionadas | Respostas | Visualizações | Atividade | |
---|---|---|---|---|
|
0
ago. 24
|
1156 | ||
|
1
jul. 24
|
1935 | ||
|
1
mar. 22
|
4746 | ||
|
0
mar. 21
|
1914 | ||
|
0
mai. 20
|
2367 |