Hardcoded messages when an error occurs on converting currencies in invoices

Description

None

Environment

None

Activity

Show:
Nicolas Micoud
December 1, 2015, 8:46 AM

Hi ,
Please find a patch that translate 2 harcoded error messages.

Regards,

Nicolas

Nicolas Micoud
January 20, 2016, 2:07 PM

As suggested in today meeting, we should also adjust messages from MPayment and MAllocation.
And put the account date in the message (cf. MAllocationHdr around line 969)

Nicolas Micoud
January 20, 2016, 2:52 PM

, this new patch :

  • create new messages

  • update MInvoice, MPayment, MAllocationHdr

  • add a new method in MConversionRateUtil

I've created the patch on a 2.1 and manually update my local sources of 3.1, and as there are lots of little modifications, mistakes are possible.

Thanks,

Nicolas

Nicolas Micoud
January 29, 2016, 1:12 PM

Hi,

If no conversion type is defined on the invoice, the message will show :
"Could not convert currency MXN to base currency EUR - conversion type : null / conversion date : 27/01/16"

This patch search the default conversion type is conversionTypeID is 0.

Regards,

Nicolas

Fixed

Assignee

Nicolas Micoud

Reporter

Nicolas Micoud

Labels

Tested By

None

Priority

Major
Configure