Skip to content
Snippets Groups Projects
Commit 1cf02f80 authored by Nicolas Martinelli's avatar Nicolas Martinelli
Browse files

[FIX] base: prevent country creation from state form


Prevent unexpected country creation when creating a state. Indeed,
there is usually no reason to create a new country.

opw-2239697

closes odoo/odoo#49713

Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
parent be36a863
No related branches found
No related tags found
No related merge requests found
......@@ -115,7 +115,7 @@
<group>
<field name="name"/>
<field name="code"/>
<field name="country_id" options='{"no_open": True}'/>
<field name="country_id" options='{"no_open": True, "no_create_edit": True}'/>
</group>
</form>
</field>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment