← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 659102] Re: follow-up report / overdue payments : "maturity" amount isn't computed

 

** Changed in: openobject-addons
       Status: Incomplete => Triaged

** Changed in: openobject-addons
     Assignee: (unassigned) => Jay (OpenERP) (jvo-openerp)

-- 
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/659102

Title:
  follow-up report / overdue payments : "maturity" amount isn't computed

Status in OpenObject Addons Modules:
  Triaged

Bug description:
  - open a partner form view.
- print the report "overdue payments".

=> the pdf contains a mistake : the formula to compute the "maturity" amount is broken. (In place of the amount, I got : [[formatLang(reduce(lambda x,y: x+(y['debit'] - y['credit']), filter(lambda x: x['date_maturity'] < time.strftime('%Y-%m-%d'), getLines(o)), 0)) ]] [[company.currency_id.name]] ).