Hello.
Using Odoo 12.0 CE, I'm trying to export a translation from a custom module, and getting this error as result :
Odoo Server ErrorTraceback (most recent call last): File "D:\docs\odoo\repositorios\odoo\odoo\http.py", line 656, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "D:\docs\odoo\repositorios\odoo\odoo\http.py", line 314, in _handle_exception raise pycompat.reraise(type(exception), exception, sys.exc_info()[2]) File "D:\docs\odoo\repositorios\odoo\odoo\tools\pycompat.py", line 87, in reraise raise value File "D:\docs\odoo\repositorios\odoo\odoo\http.py", line 698, in dispatch result = self._call_function(**self.params) File "D:\docs\odoo\repositorios\odoo\odoo\http.py", line 346, in _call_function return checked_call(self.db, *args, **kwargs) File "D:\docs\odoo\repositorios\odoo\odoo\service\model.py", line 98, in wrapper return f(dbname, *args, **kwargs) File "D:\docs\odoo\repositorios\odoo\odoo\http.py", line 339, in checked_call result = self.endpoint(*a, **kw) File "D:\docs\odoo\repositorios\odoo\odoo\http.py", line 941, in __call__ return self.method(*args, **kw) File "D:\docs\odoo\repositorios\odoo\odoo\http.py", line 519, in response_wrap response = f(*args, **kw) File "d:\docs\odoo\repositorios\odoo\addons\web\controllers\main.py", line 967, in call_button action = self._call_kw(model, method, args, {}) File "d:\docs\odoo\repositorios\odoo\addons\web\controllers\main.py", line 955, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "D:\docs\odoo\repositorios\odoo\odoo\api.py", line 759, in call_kw return _call_kw_multi(method, model, args, kwargs) File "D:\docs\odoo\repositorios\odoo\odoo\api.py", line 746, in _call_kw_multi result = method(recs, *args, **kwargs) File "d:\docs\odoo\repositorios\odoo\odoo\addons\base\wizard\base_export_language.py", line 39, in act_getfile tools.trans_export(lang, mods, buf, this.format, self._cr) File "D:\docs\odoo\repositorios\odoo\odoo\tools\translate.py", line 727, in trans_export translations = trans_generate(lang, modules, cr) File "D:\docs\odoo\repositorios\odoo\odoo\tools\translate.py", line 885, in trans_generate push_translation(module, 'selection', name, 0, val) File "D:\docs\odoo\repositorios\odoo\odoo\tools\translate.py", line 822, in push_translation sanitized_term = (source or '').strip() AttributeError: 'int' object has no attribute 'strip'