This question has been flagged
1 Reply
2078 Views

why odoo used res.config model as wizard not Model and that need to using set and get to store data into it.

Avatar
Discard
Best Answer

Hi,

res.config.settings model is TransientModel and TransientModel are designed to be stored temporary data, After periodically time it will remove data from the database. For saving those settings we have to implement set_param and get_param method of ir.config_parameter.


Hope it helps

Avatar
Discard