Odoo Help

Welcome!

This community 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.

0

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

By
Patricio
on 2/10/15, 2:53 PM 1,237 views

hi
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>
    report_custom('report.custom')
  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

0

Yenthe

--Yenthe--
6696
| 7 7 8
Turnhout, Belgium
--Yenthe--

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

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

Yenthe
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)

0
Patricio
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)

summarizing:
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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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