Skip to Content
Menu
This question has been flagged

Hello,

I'm working on Odoo11 and i'm trying to change the default value of currency field in setting/invoicing  (Technically : currency_id in res.config.settings) to DZD. I want to do that in my custom module and in order to achieve that, i tried to activate the DZD currency first by the XML DATA CODE bellow but it does't work.

Any help please ?

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="base.DZD" model="res.currency">
<field name="active" eval="True"/>
</record>
</data>
</odoo>
Avatar
Discard
Related Posts Replies Views Activity
2
Sep 19
3855
3
Mar 18
7518
2
Feb 24
1768
1
Aug 23
3402
6
Apr 23
15936