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
Создайте аккаунт сегодня, чтобы получить доступ к эксклюзивным функциям и стать частью нашего замечательного сообщества!
Регистрация| Похожие посты | Ответы | Просмотры | Активность | |
|---|---|---|---|---|
|
0
авг. 24
|
3496 | |||
|
1
июл. 24
|
3910 | |||
|
1
мар. 22
|
7130 | |||
|
0
мар. 21
|
3524 | |||
|
0
мая 20
|
3906 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.