[trunk/7.0] project.project name_get is incoherent and performance killer

Bug #1183753 reported by Nicolas Bessi - Camptocamp
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Low
OpenERP R&D Addons Team 1

Bug Description

Hello

project name_get can be incoherent if ids of project of id and id of analytic account differs.

Also the name get trigger a lot of browse on analytic account.
This launch computation of indicator and computed fields related to analytic accounts.

When you have a database with some history name search does not work any more has name_get take a lot of time

Regards

Nicolas

Tags: project
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Nicolas,

I am not able to see the name_get on project_project object , would you please more specific with path and line number.
So that can be better for us to check it easily.

Thanks and waiting for your reply!

Changed in openobject-addons:
status: New → Incomplete
Revision history for this message
Nicolas Bessi - Camptocamp (nbessi-c2c-deactivatedaccount) wrote :

Hello,

This is the proof that the design can be more clear ;). As it is an _inherits of account.analytic.account it uses the account.analytic.account name_get. That means project has same name AA as name in this case is defines on account model.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenERP Addons because there has been no activity for 60 days.]

Changed in openobject-addons:
status: Incomplete → Expired
Amit Parik (amit-parik)
Changed in openobject-addons:
status: Expired → Invalid
status: Invalid → New
Amit Parik (amit-parik)
summary: - [7.0] project.project name_get is incoherent and performance killer
+ [trunk/7.0] project.project name_get is incoherent and performance
+ killer
Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 1 (openerp-dev-addons1)
importance: Undecided → Low
status: New → Confirmed
tags: added: project
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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