Odoo Help


assert not self.exists(name), 'The report "%s" already exists!' % name

on 2/10/15, 2:53 PM 1,382 views

I have win8, openerp7 eclipse, python27 and I get this error when running the debug

File "C:\Users\patri_000\desarrollo\openerp7\openerp\report\custom.py", line 623, in <module>
  File "C:\Users\patri_000\desarrollo\openerp7\openerp\report\custom.py", line 58, in __init__
    report_int.__init__(self, name)
  File "C:\Users\patri_000\desarrollo\openerp7\openerp\report\interface.py", line 45, in __init__
    assert not self.exists(name), 'The report "%s" already exists!' % name
AssertionError: The report "report.custom" already exists!
any ideas?
greetings and thanks



| 7 7 8
Turnhout, Belgium

My Odoo blog: http://www.odoo.yenthevg.com/

My Twitter: https://twitter.com/Yenthe666

On 2/11/15, 2:30 AM

Hi Patricio. The error is exactly saying what is wrong, you already have a report.custom so I assume you've created two different reports with both the same name (report.custom)

On 2/11/15, 9:48 AM

Hi Yenthe thanks for your answer,
but I just got the version 7 https://www.odoo.com/page/download
(I did not create any report)
I have installed the .exe version. of openerp7 and works well in C: \ Program Files (x86) \ OpenERP 7.0-20150201 (I have stopped business services to debuguear and that's where the error)

1   version .exe C: \ Program Files (x86) \ OpenERP 7.0-20150201 is  works!
2 version of source code in C: \ Users \ patri_000 \ development \ openerp7 gives me an error not assert self.exists (name), 'The report "% s" already exists!' % name
AssertionError: The report "report.custom" already exists!

greetings and thanks

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

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

1 follower(s)


Asked: 2/10/15, 2:53 PM
Seen: 1382 times
Last updated: 3/16/15, 8:10 AM