Odoo Help

0

0
1 Answer
1
Sameer Ahmad
15/03/19, 05:07

I got to know we can achieve this by placing the following code in any one of the xml files. It worked fine for me.

<record model="res.config.settings" id="res_config_settings_custom">
<field name="group_analytic_accounting" eval="1"/>
</record>

<function model="res.config.settings" name="execute">
<value eval="[ref('res_config_settings_custom')]"/>
<value eval="{}"/>
</function>

Hope it'll be of any use to anyone who's stuck with the same issue.

Regards,

Sameer

Ask a Question
Writer
Keep Informed
1 follower(s)
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 eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now