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
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
0
thg 8 24
|
1200 | ||
|
1
thg 7 24
|
2010 | ||
|
1
thg 3 22
|
4790 | ||
|
0
thg 3 21
|
1972 | ||
|
0
thg 5 20
|
2396 |