Hola Comunidad,
Estoy haciendo algunas pruebas de funcionalidad con Odoo v8 localización de AdHoc. El error me sucede tanto en mi compañia como si utilizo la base de demo que incluye.
El tema es así, al momento registrar un pago, me deja realizarlo sin inconvenientes, lo puedo publicar, y al momento de querer imprimirlo o o enviarlo por correo, me arroja el siguiente error:
Odoo Server Error
Traceback (most recent call last): File "/opt/odoo/odoo-server/openerp/http.py", line 537, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/opt/odoo/odoo-server/openerp/http.py", line 574, in dispatch result = self._call_function(**self.params) File "/opt/odoo/odoo-server/openerp/http.py", line 310, in _call_function return checked_call(self.db, *args, **kwargs) File "/opt/odoo/odoo-server/openerp/service/model.py", line 118, in wrapper return f(dbname, *args, **kwargs) File "/opt/odoo/odoo-server/openerp/http.py", line 307, in checked_call return self.endpoint(*a, **kw) File "/opt/odoo/odoo-server/openerp/http.py", line 803, in __call__ return self.method(*args, **kw) File "/opt/odoo/odoo-server/openerp/http.py", line 403, in response_wrap response = f(*args, **kw) File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 944, in call_kw return self._call_kw(model, method, args, kwargs) File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 936, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "/opt/odoo/odoo-server/openerp/api.py", line 250, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/odoo-server/addons/email_template/wizard/mail_compose_message.py", line 54, in default_get res.get('model'), res.get('res_id'), context=context File "/opt/odoo/odoo-server/openerp/api.py", line 250, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/odoo-server/addons/email_template/wizard/mail_compose_message.py", line 104, in onchange_template_id values = self.generate_email_for_composer_batch(cr, uid, template_id, [res_id], context=context)[res_id] File "/opt/odoo/odoo-server/openerp/api.py", line 250, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/odoo-server/addons/email_template/wizard/mail_compose_message.py", line 168, in generate_email_for_composer_batch template_values = self.pool.get('email.template').generate_email_batch(cr, uid, template_id, res_ids, fields=fields, context=ctx) File "/opt/odoo/odoo-server/openerp/api.py", line 250, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/odoo-server/addons/email_template/email_template.py", line 516, in generate_email_batch result, format = openerp.report.render_report(cr, uid, [res_id], report_service, {'model': template.model}, ctx) File "/opt/odoo/odoo-server/openerp/report/__init__.py", line 40, in render_report return registry['ir.actions.report.xml'].render_report(cr, uid, ids, name, data, context) File "/opt/odoo/odoo-server/openerp/api.py", line 250, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_actions.py", line 155, in render_report return new_report.create(cr, uid, res_ids, data, context) File "/opt/odoo/odoo-server/addons/report_aeroo/report_aeroo.py", line 866, in create res = fnct(cr, uid, ids, data, report_xml, context) File "/opt/odoo/odoo-server/addons/report_aeroo/report_aeroo.py", line 723, in create_source_pdf return self.create_single_pdf(cr, uid, ids, data, report_xml, context) File "/opt/odoo/odoo-server/addons/report_aeroo/report_aeroo.py", line 626, in create_single_pdf return self.create_aeroo_report(cr, uid, ids, data, report_xml, context=context, output=output) File "/opt/odoo/odoo-server/addons/report_aeroo/report_aeroo.py", line 584, in create_aeroo_report self._raise_exception(e, print_id) File "/opt/odoo/odoo-server/addons/report_aeroo/report_aeroo.py", line 461, in _raise_exception raise Exception(_("Aeroo Reports: Error while generating the report."), e, str(e), _("For more reference inspect error logs.")) Exception: (u'Aeroo Reports: Error while generating the report.', AttributeError("'account.journal' object has no attribute 'check_type'",), "'account.journal' object has no attribute 'check_type'", u'For more reference inspect error logs.')
Por otro lado, si en vez de querer enviarlo por correo, hago clic en Imprimir recibo, me devuelve el siguiente error:
Odoo Warning
Aeroo Reports: Error while generating the report.
'account.journal' object has no attribute 'check_type'
'account.journal' object has no attribute 'check_type'
For more reference inspect error logs.
<type 'exceptions.Exception'>,Aeroo Reports: Error while generating the report.
'account.journal' object has no attribute 'check_type'
'account.journal' object has no attribute 'check_type'
For more reference inspect error logs.,<traceback object at 0x7ff79e2085a8>
Lamentablemente para mí, ésto es lo unico que me está funcionando mal en el sistema, por lo que le agradecería a cualquiera que me pudiera orientar por dónde puede estar el error, soy nuevo en Odoo y aún no comprendo del todo bien los mensajes de error.
Muchas gracias,
Leandro Latorre
Bueno comunidad, es muy largo de explicar por aquí la solución a mi inconveniente, pero les comparto el enlace a la asistencia que me brindó el colega Gustavo Orrillo en el grupo de odoo-argentina de Google Groups, la cuál me permitió resolver el incidente. Mil gracias a Gustavo Orrillo por la mano! https://groups.google.com/forum/#!topic/odoo-argentina/P4wjq4xYEZA Saludos, Leandro Latorre