Skip to content
Snippets Groups Projects
Commit b7531c4e authored by Bruno Zanotti's avatar Bruno Zanotti
Browse files

[FIX] l10n_ar: inactivate argentinean doc types


In Argentinean localization, we are making inactive some document types in a
no-updatable xml view to keep the user configuration when the module is
updated. This fix is to avoid the possibility of inactivating doc types
from other localizations with the same code.

closes odoo/odoo#80031

Signed-off-by: default avatarJosse Colpaert <jco@openerp.com>
parent 30f11bc6
Branches
Tags
No related merge requests found
......@@ -2,7 +2,7 @@
<odoo>
<data noupdate="1">
<function model="l10n_latam.document.type" name="write">
<value model="l10n_latam.document.type" eval="obj().search([('code', 'in', ['5','10','14','16','22','30','31','32','34','35','36','37','38','50','55','56','57','58','59','60','61','65','67','68','70','71','73','74','75','80','84','85','86','87','88','89','90','91','92','93','94','95','96','97','101','102','103','104','94','23','24','25','26','33','331','332','150','151','157','158','159','160','161','162','163','164','165','166','167','168','169','170','171','172','180','182','183','185','186','188','189','190','191'])]).ids"/>
<value model="l10n_latam.document.type" eval="obj().search([('country_id.code', '=', 'AR'), ('code', 'in', ['5','10','14','16','22','30','31','32','34','35','36','37','38','50','55','56','57','58','59','60','61','65','67','68','70','71','73','74','75','80','84','85','86','87','88','89','90','91','92','93','94','95','96','97','101','102','103','104','94','23','24','25','26','33','331','332','150','151','157','158','159','160','161','162','163','164','165','166','167','168','169','170','171','172','180','182','183','185','186','188','189','190','191'])]).ids"/>
<value eval="{'active': False}"/>
</function>
</data>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment