Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0034949Openbravo ERP09. Financial managementpublic2017-01-13 14:192017-01-13 14:19
jorge-garcia 
Triage Omni OMS 
lowminorsometimes
newopen 
5
 
 
Core
No
0034949: Payment Detail is not showing real field value sometimes
Payment Detail is populated with data using some data from the fin_payment.

This is the case of 'Received (Account Currency)'field which is calculated when the view is rendered using the amount of fin_payment_schedule multiply by the conversion rate from fin_payment.

In the ERP this is not a problem, but in the WebPOS it's possible to pay with a currency different from the one defined in the organization.

1) Go to the query of fin_payment_detail_v
2) Search for paidconverted alias in the query
3) Check this value is calculated like this: psd.amount * p.finacc_txn_convert_rate (in general this is OK except in WEBPOS)
'paidconverted' value could be take without any calculation using p.finacc_txn_amount in the query instead of calculate it
No tags attached.
blocks defect 0029798 closed jorge-garcia Retail Modules Paid amount does not correspond with discounted amount using USA Cash 
Issue History
2017-01-13 14:19jorge-garciaNew Issue
2017-01-13 14:19jorge-garciaAssigned To => Triage Finance
2017-01-13 14:19jorge-garciaModules => Core
2017-01-13 14:19jorge-garciaTriggers an Emergency Pack => No
2017-01-16 09:30jorge-garciaRelationship addedblocks 0029798

There are no notes attached to this issue.