Odoo Help


Exception: 'a' object has no attribute 'report_name'

on 5/23/13, 7:17 PM 1,561 views

Hi Everybody,

While trying to print the report "agaplan_terms_and_conditions" under OpenERP 6.1 (upgraded from a 6.0 with all modules updated), I have got this error :

Exception: 'a' object has no attribute 'report_name'

What is the problem, where does it come from ?

Thanks for your help,




| 5 4 7
Baarn, Netherlands
On 5/23/13, 9:48 PM

The problem is (as yo already tell), that there is an object with the name 'a', which has no attribut 'report_name'. This might be caused by the upgrade, or one of your customized modules expects something )(object a) which is changed now.

agaplan_terms_and_conditions, is that a custom report, or is it a default report? Try looking in the .rml or .sxw file to see it at the top it defines the object as a.

Another location to check is the python module which is called to print the report, often found in the folder /addons/< module name >/report/, and the name is often < report_name >.py

#update1 agaplan_terms_and_conditions is a custom module you can download from the openerp site. Please download the version for V6.1, and install it

On 5/26/13, 2:19 PM

Thank you Patrick for your answer.

This is the default report I guess. In the "/addons/agaplan_terms_and_conditions" directory, there is no "report" directory, nor rml and sxw file. Just report_sxw.py. Maybe this file is out-of-date ?

Thanks for your help again.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 5/23/13, 7:17 PM
Seen: 1561 times
Last updated: 3/16/15, 8:10 AM