Skip to Content
मेन्यू
This question has been flagged
1 Reply
3167 Views

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
Discard
Best Answer

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
Discard
Author

i want to add new field to all models automatically

just like the MAGIC_COLUMNS

But without modifying the ORM itself

Related Posts Replies Views Activity
0
अग॰ 24
1204
1
जुल॰ 24
2015
1
मार्च 22
4793
0
मार्च 21
1976
0
मई 20
2400