[FIX] account: do not allow to create a country in the settings
The fiscal country field could be used to create a new res country or open the form view and allow to change things such as the country code. This is obviously an issue and shouldn't be allowed. closes odoo/odoo#102708 X-original-commit: 0881199fba43e01d6d7613eff00549eac5827480 Signed-off-by: Florian Gilbert (flg) <flg@odoo.com> Signed-off-by: Nicolas Viseur <vin@odoo.com>
This commit is contained in:
@@ -152,7 +152,7 @@
|
||||
Domestic country of your accounting
|
||||
</div>
|
||||
<div class="text-muted">
|
||||
<field name="account_fiscal_country_id"/>
|
||||
<field name="account_fiscal_country_id" options="{'no_create': True, 'no_open': True}"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user