跳至內容
選單
此問題已被標幟
1 回覆
1142 瀏覽次數

hai, i want to get default_purchase_method values in res.config.settings, can u help me how to get that values?



頭像
捨棄
最佳答案

Hi,

This is a transient model, so their data is still stored in the database, but it is expected to be temporary.The data is automatically vacuumed from the table,so you need write function to store and get the values from the settings.

You can refer the blog

https://www.cybrosys.com/blog/how-to-use-custom-settings-in-odoo-15

Regards

頭像
捨棄