Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0024760Openbravo ERP09. Financial managementpublic2013-09-12 18:462014-05-20 08:41
azabaleta 
gauravdeshmukh 
normalminoralways
newopen 
5
pi 
 
Core
No
0024760: Wrong assumption of pre-payment when posting transactions
When comparing the invoice date and the payment date to know if its a pre-payment, the dates should be truncated to dates and not hours:minutes, because unexpected behaviour can happen.
Create a POS sales order with date 25-08-2013
Complete
The dateinvoiced and dateacct columns of the invoice have this format: DD-MM-YYYY HH:MM:SS
Create a payment for this sales invoice. Date 25-08-2013
Process and deposit
post the transaction.
---> See that the system think its a prepayment
Truncate the dates before the comparison.
No tags attached.
Issue History
2013-09-12 18:46azabaletaNew Issue
2013-09-12 18:46azabaletaAssigned To => dmiguelez
2013-09-12 18:46azabaletaModules => Core
2013-09-12 18:46azabaletaTriggers an Emergency Pack => No
2013-12-11 09:54pramakrishnanAssigned Todmiguelez => gauravdeshmukh
2014-05-20 08:41eintelauIssue Monitored: eintelau

There are no notes attached to this issue.