Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
2065 มุมมอง

Value

Code

i want this value in my custom model any help ? 

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

You have got the answer in your question itself. In the one of the image, you can see the function named get_values, in it, self.env['ir.config.parameter'].sudo().get_param('paid_leave') this line of code is used to show the paid leav in settings, same line of code can be used anywhere.

Thanks

อวตาร
ละทิ้ง
ผู้เขียน

let me try ...