The report "report.account.tax.code.entries" already exist!

Bug #309271 reported by Navrang Oza
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Invalid
Undecided
Stephane Wirtel (OpenERP)

Bug Description

Hello,

When ever i install account module, im getting this error message.
I have taken latest server and addons from bzr.

If creating new DB with service profile then getting following error message and if creating DB with minimal profile and trying to install account module then also getting following error message.

"The report "report.account.tax.code.entries" already exist!"

Can any one help me ?
Thanks...

Revision history for this message
Navrang Oza (noz-tiny) wrote :

Sometime im getting this error message.

"0 reference(s) to account.model_account_fiscal_position. You should have one and only one !"

Changed in openobject-addons:
assignee: nobody → matrixise
Revision history for this message
Stephane Wirtel (OpenERP) (stephane-openerp) wrote :

Works for me with the last source of Server and Addons.

Addons
---------
stephane@openerp:~/openerp/code/trunk/addons$ bzr version-info
revision-id: <email address hidden>
date: 2008-12-18 11:54:15 +0100
build-date: 2008-12-18 12:28:45 +0100
revno: 2043
branch-nick: addons
stephane@openerp:~/openerp/code/trunk/addons$

Server
--------
stephane@openerp:~/openerp/code/trunk/server/bin$ bzr version-info
revision-id: christophe@cobalt-20081218102003-3i5sxe18pmy16bm2
date: 2008-12-18 11:20:03 +0100
build-date: 2008-12-18 12:28:40 +0100
revno: 1426
branch-nick: server
stephane@openerp:~/openerp/code/trunk/server/bin$

Changed in openobject-addons:
status: New → Invalid
Revision history for this message
Cristian Salamea (ovnicraft) wrote :
Download full text (4.9 KiB)

hi folks, i am with:
Server:
Tree is up to date at revision 1919.
Addons:
Tree is up to date at revision 2512.

And i am getting the same error, so i can reproduced it when:
 - you init the server without all addons in 'addons' path (and account module :) )
 - you update the path with addons modules in your path
 - Create new DB minimal profile
 - Install account module

All of this without shutdown the server.

Restart the server and works ok.

[2010-01-04 16:24:01,987] ERROR:web-services:[01]:
[2010-01-04 16:24:01,987] ERROR:web-services:[02]: Environment Information :
[2010-01-04 16:24:01,987] ERROR:web-services:[03]: System : Linux-2.6.29.6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_____T5550__@_1.83GHz-with-slackware-13.0.0.0.0
[2010-01-04 16:24:01,987] ERROR:web-services:[04]: OS Name : posix
[2010-01-04 16:24:01,988] ERROR:web-services:[05]: Operating System Release : 2.6.29.6
[2010-01-04 16:24:01,988] ERROR:web-services:[06]: Operating System Version : #2 SMP Mon Aug 17 11:58:18 CDT 2009
[2010-01-04 16:24:01,988] ERROR:web-services:[07]: Operating System Architecture : 64bit
[2010-01-04 16:24:01,988] ERROR:web-services:[08]: Operating System Locale : es_EC.UTF8
[2010-01-04 16:24:01,988] ERROR:web-services:[09]: Python Version : 2.6.2
[2010-01-04 16:24:01,988] ERROR:web-services:[10]: OpenERP-Server Version : 5.0.7
[2010-01-04 16:24:01,988] ERROR:web-services:[11]: Last revision No. & ID :
[2010-01-04 16:24:01,988] ERROR:web-services:[12]: Exception in call: Traceback (most recent call last):
[2010-01-04 16:24:01,989] ERROR:web-services:[13]: File "/home/ovnicraft/openerp/5_0_7/server/bin/wizard/__init__.py", line 73, in execute_cr
[2010-01-04 16:24:01,989] ERROR:web-services:[14]: action_res = action(self, cr, uid, data, context)
[2010-01-04 16:24:01,989] ERROR:web-services:[15]: File "/home/ovnicraft/openerp/5_0_7/server/bin/addons/base/module/wizard/wizard_module_upgrade.py", line 92, in _upgrade_module
[2010-01-04 16:24:01,989] ERROR:web-services:[16]: db, pool = pooler.restart_pool(cr.dbname, update_module=True)
[2010-01-04 16:24:01,989] ERROR:web-services:[17]: File "/home/ovnicraft/openerp/5_0_7/server/bin/pooler.py", line 62, in restart_pool
[2010-01-04 16:24:01,989] ERROR:web-services:[18]: return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
[2010-01-04 16:24:01,989] ERROR:web-services:[19]: File "/home/ovnicraft/openerp/5_0_7/server/bin/pooler.py", line 40, in get_db_and_pool
[2010-01-04 16:24:01,990] ERROR:web-services:[20]: addons.load_modules(db, force_demo, status, update_module)
[2010-01-04 16:24:01,990] ERROR:web-services:[21]: File "/home/ovnicraft/openerp/5_0_7/server/bin/addons/__init__.py", line 738, in load_modules
[2010-01-04 16:24:01,990] ERROR:web-services:[22]: r = load_module_graph(cr, graph, status, report=report)
[2010-01-04 16:24:01,990] ERROR:web-services:[23]: File "/home/ovnicraft/openerp/5_0_7/server/bin/addons/__init__.py", line 578, in load_module_graph
[2010-01-04 16:24:01,990] ERROR:web-services:[24]: register_class(package.name)
[2010-01-04 16:24:01,990] ERROR:web-services:[25]: File "/home/ovnicraft/openerp/5_0_7/server/bin/addons/__init...

Read more...

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello Cristian Salamea (GnuThink),

It could be due to the .rc file in your system.

Go to home/ovnicraft and remove Hidden files of openerp configuration(terprc,openerprc,openerpserverrrc).

Thanks.

Changed in openobject-addons:
milestone: none → 5.0.10
Revision history for this message
Torvald Bringsvor (bringsvor) wrote :

Funny, I get this error in latest 5.0 trunk.

Maybe not fixed after all?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.