Openbravo Issue Tracking System - Retail Modules
View Issue Details
0022512Retail ModulesWeb POSpublic2012-12-11 12:022012-12-11 13:53
umartirena 
adrianromero 
immediatecriticalalways
closedfixed 
5
 
 
No
0022512: In credit sales the check of Business Partner Available Credit is not being done correctly.
Instead of checking that the actual credit is Credit Limit - Credit Used, it was doing the check Credit Limit + Credit Used.
Pay a ticket as Credit and see this behavior.
Find the patch attached
No tags attached.
diff fixCredit.diff (2,370) 2012-12-11 12:02
https://issues.openbravo.com/file_download.php?file_id=5814&type=bug
Issue History
2012-12-11 12:02umartirenaNew Issue
2012-12-11 12:02umartirenaAssigned To => adrianromero
2012-12-11 12:02umartirenaFile Added: fixCredit.diff
2012-12-11 13:51hgbotCheckin
2012-12-11 13:51hgbotNote Added: 0054839
2012-12-11 13:51hgbotStatusnew => resolved
2012-12-11 13:51hgbotResolutionopen => fixed
2012-12-11 13:51hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6dfc8c50d5c92fbbc72a81784d9f6d922006edec [^]
2012-12-11 13:53migueldejuanaNote Added: 0054840
2012-12-11 13:53migueldejuanaStatusresolved => closed

Notes
(0054839)
hgbot   
2012-12-11 13:51   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 6dfc8c50d5c92fbbc72a81784d9f6d922006edec
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Dec 11 13:40:21 2012 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6dfc8c50d5c92fbbc72a81784d9f6d922006edec [^]

Fixed issue 22512: Correctly calculated credit amount

---
M src/org/openbravo/retail/posterminal/CheckBusinessPartnerCredit.java
M web/org.openbravo.retail.posterminal/js/pointofsale/view/modals/modalcreditsales.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---
(0054840)
migueldejuana   
2012-12-11 13:53   
Tested and reviewed in @6dfc8c50d5c9