← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 696204] Re: [6.0] report_aged_receivable missing company_id

 

many questions many answers ;-)

* I pobably just stumbeld over report_aged_receivable because it's there
* if the code is not used 
** please add a comment "not used"
* if the code will not return correct results - missing company 
** please add a comment "not maintained, company id is missing"

* how to care about company
** may be that I have not realized that the dashboard is not mulitcompany ready at all ??? we can't mix data of all companies !!
** IMHO only data from the company shown in GTK/WEB client should be used for dashboards.
--> there could be an argue that company + children should be aggregated, but this is ( at best ) only true if children are 100% property of parent. the correct way would be to consolidate , but this is another set of rules based  on ownership of companies (see module chricar_partner_parent_companies) 

we now have a "Generic Reporting/Partners/Aged Partner Balance"
when printing the title is wrong "Aged Trial Balance"
 
 hope that answers your questions

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/696204

Title:
  [6.0] report_aged_receivable missing company_id

Status in OpenERP Modules (addons):
  In Progress

Bug description:
  account_report.py

  appart from the wrong SUM(credit-debit) - should be  (debit - credit)

   the SQL statement in 
  def _calc_bal
  is not restricting the selection to the "actual company"

  I think this report does not care about company at all





References