Please find a patch that translate 2 harcoded error messages.
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)
, 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.
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.