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
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
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
Rekisteröidy| Aiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
|---|---|---|---|---|
|
0
elok. 24
|
3498 | |||
|
1
heinäk. 24
|
3915 | |||
|
1
maalisk. 22
|
7134 | |||
|
0
maalisk. 21
|
3527 | |||
|
0
toukok. 20
|
3911 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.