Odoo Help

2

0
1 Answer
4
Avatar

Mitul Shingala อินเดีย

--Mitul Shingala--
5472
| 6 4 9
Vadodara, Gujarat, อินเดีย
--Mitul Shingala--

Odoo Developer

Mitul Shingala อินเดีย
31/1/19 09:04

Hello,

add @api.multi method decorator on set_values method.

@api.multi
def set_values(self):
    super(ResConfigSettings, self).set_values()
self.env['ir.config_parameter'].sudo().set_param('golf_management.type', self.type)

Ask a Question
Writer
ป้ายกำกับ
Keep Informed
2 ผู้ติดตาม
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now