Commit Graph

1 Commits

Author SHA1 Message Date
Carlos Ruiz 86823a72e5
IDEMPIERE-4083 currency rate by document or by transaction (#372)
Found issue in _Bank/Cash Statement_ window, button _Create lines from_ is creating all lines (payments and receipts) positive, the correct behavior must be to create the receipts positive and payments negative.
To fix this:
* the function currencyConvertPayment was modified to use C_Payment_V instead of C_Payment
* the columns currencyrate, convertedamt and isoverridecurrencyrate were added to the view C_Payment_V
* the definition of the view C_Payment_V was moved from script to dictionary (easier to add new columns in future)
2020-11-12 09:59:03 +01:00