[Kmymoney-devel] Review Request: Show prices in investment reports only if they exist

Alvaro Soliverez asoliverez at kde.org
Sun Sep 26 05:20:19 CEST 2010



> On 2010-09-10 02:57:38, Alvaro Soliverez wrote:
> > /trunk/extragear/office/kmymoney/kmymoney/reports/pivottable.cpp, line 2330
> > <http://svn.reviewboard.kde.org/r/5298/diff/1/?file=35571#file35571line2330>
> >
> >     if the method in ReportAccount works, you can drop this.
> 
> Bernd Gonsior wrote:
>     There is a problem: method ReportAccount::deepCurrencyPrice is called only once for a period (e.g. a month) from PivotTable::convertToDeepCurrency. To retrieve prices which are not exactly at the last day of the current period (that way the call was done so far) this new method has to iterate over all possible dates from start to end of period.

price reports, which is where this is going to be used, are daily. That's how it works now, and there is no need to change that.


- Alvaro


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://svn.reviewboard.kde.org/r/5298/#review7510
-----------------------------------------------------------


On 2010-09-23 19:17:13, Bernd Gonsior wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://svn.reviewboard.kde.org/r/5298/
> -----------------------------------------------------------
> 
> (Updated 2010-09-23 19:17:13)
> 
> 
> Review request for kmymoney.
> 
> 
> Summary
> -------
> 
> Patch for investment reports only: prices are shown only if at least one price
> exists in a requested period.
> 
> 
> Diffs
> -----
> 
>   /trunk/extragear/office/kmymoney/kmymoney/dialogs/kreportconfigurationfilterdlg.cpp 1178669 
>   /trunk/extragear/office/kmymoney/kmymoney/mymoney/mymoneyreport.h 1178669 
>   /trunk/extragear/office/kmymoney/kmymoney/mymoney/mymoneyreport.cpp 1178669 
>   /trunk/extragear/office/kmymoney/kmymoney/reports/kreportchartview.cpp 1178669 
>   /trunk/extragear/office/kmymoney/kmymoney/reports/pivottable.cpp 1178669 
>   /trunk/extragear/office/kmymoney/kmymoney/reports/reportaccount.h 1178669 
>   /trunk/extragear/office/kmymoney/kmymoney/reports/reportaccount.cpp 1178669 
>   /trunk/extragear/office/kmymoney/kmymoney/widgets/kmymoneyreportconfigtab1decl.ui 1178669 
> 
> Diff: http://svn.reviewboard.kde.org/r/5298/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Bernd
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kmymoney-devel/attachments/20100926/d072ad8c/attachment.htm 


More information about the KMyMoney-devel mailing list