Here is the link to the bug for everyone interested:

https://issues.apache.org/jira/browse/OFBIZ-5576


On 14 March 2014 15:09, Adrian Stern <[email protected]> wrote:

> Thanks for your support.
>
> The question if it is a bug or not the following:
>
> Do you ever need to create invoices in a currency other then your
> countrys. The payments can always be in a foreign currency but would one
> need to create an Invoice in a different Currency? Since we can set the
> currency of the invoice i do beleve that it is a bug. What do you think?
>
> This patch fixes the problem, however i'm not able to predict it's further
> influences:
>
> Index: accounting/payment/PaymentServices.xml
> ===================================================================
> --- accounting/payment/PaymentServices.xml (revision 1576834)
> +++ accounting/payment/PaymentServices.xml (working copy)
> @@ -185,6 +185,7 @@
>                  <condition>
>                      <or>
>                          <if-compare-field  field="invoice.currencyUomId"
> operator="equals" to-field="defaultCurrencyUomId"/>
> +                        <if-compare-field  field="invoice.currencyUomId"
> operator="equals" to-field="payment.currencyUomId"/>
>                          <and>
>                              <if-compare-field
>  field="invoice.currencyUomId" operator="not-equals"
> to-field="defaultCurrencyUomId"/>
>                              <if-compare-field
>  field="invoice.currencyUomId" operator="equals"
> to-field="payment.actualCurrencyUomId"/>
>
>
> I will file a bug.
>
>
> On 14 March 2014 13:36, Pierre Smits <[email protected]> wrote:
>
>> Adrian,
>>
>> Given that Jacopo concurs that there is an issue, I suggest you file one
>> in
>> JIRA.
>>
>> Regards,
>>
>> Pierre Smits
>>
>> *ORRTIZ.COM <http://www.orrtiz.com>*
>> Services & Solutions for Cloud-
>> Based Manufacturing, Professional
>> Services and Retail & Trade
>> http://www.orrtiz.com
>>
>
>

Reply via email to