From 4da2b5d3a8cfbed7f596d158868394f34ff95e39 Mon Sep 17 00:00:00 2001 From: Ivan Yelizariev Date: Thu, 3 Dec 2020 12:47:08 +0000 Subject: [PATCH] [IMP] base: export translation terms in po/pot format by default The .po format is wildly used in Odoo and is the format used for storage and interaction with Transifex closes odoo/odoo#65039 Signed-off-by: Ivan Yelizariev // IEL --- odoo/addons/base/wizard/base_export_language.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odoo/addons/base/wizard/base_export_language.py b/odoo/addons/base/wizard/base_export_language.py index b0d09608df6..d53a3a284e2 100644 --- a/odoo/addons/base/wizard/base_export_language.py +++ b/odoo/addons/base/wizard/base_export_language.py @@ -22,7 +22,7 @@ class BaseLanguageExport(models.TransientModel): name = fields.Char('File Name', readonly=True) lang = fields.Selection(_get_languages, string='Language', required=True, default=NEW_LANG_KEY) format = fields.Selection([('csv','CSV File'), ('po','PO File'), ('tgz', 'TGZ Archive')], - string='File Format', required=True, default='csv') + string='File Format', required=True, default='po') modules = fields.Many2many('ir.module.module', 'rel_modules_langexport', 'wiz_id', 'module_id', string='Apps To Export', domain=[('state','=','installed')]) data = fields.Binary('File', readonly=True, attachment=False)