← Back to team overview

openerp-india team mailing list archive

[Bug 1011492] Re: [charts] dashboard giving traceback

 

Hello All,

The account dashboard 'e error comes from the addons side because the
balance field is a function field without store and  non-stored function
fields should not be used in read_group.

Also I agree with Ajay, We can't do on server-side in read_group, as we
cannot allow grouping on non-stored function fields.It would required
computing the function field value for the whole database, which could
have millions of records

Also on addons side we must not make the balance field stored, because
it is a critical field that must always be correct, and making it stored
would add a risk of having it become out of sync with the actual balance
(many things can affect the balance, like structure of chart of account,
move, move.lines, etc.)

I would like to assign this issue into addons team and please properly
fix the chart definition for the financial part without making
store="True'.

Thank you!

** Project changed: openobject-server => openobject-addons

** Changed in: openobject-addons
     Assignee: OpenERP's Framework R&D (openerp-dev-framework) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1011492

Title:
  [charts] dashboard giving traceback

Status in OpenERP Web:
  Fix Committed
Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  With recently added new lib for the chart, few dashboard does not seems working perfectly in web client.
  I have tested the problem in local as well as on run bot at following revision :
  (Build 10686), server (4191), addons (6882), web (2528).
  When I open Dashboard or the account, hr and project, I found various issues.
  For more ref, I have attached the video with the bug, Kindly refer it.
  Thank You

To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/1011492/+subscriptions