Openbravo Issue Tracking System - Retail Modules
View Issue Details
0032797Retail ModulesWeb POSpublic2016-04-27 12:402016-05-23 18:02
malsasua 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
20Community Appliance
 
 
migueldejuana
No
0032797: field "Days till next due date" is wrong
when a receipt is paid using credit, in the invoice created, the field "Days till next due date" always is zero, but it should be calculated depending of customer payment terms.
in backend:
. configure pos terminal type:
   VBS POS Terminal Type -> allow pay on credit= Y
. configure business partner:
   Carl Studson -> credit line limit: 2000
   payment terms -> 30 days

in webpos
. new receipt
 bp: Carl Studson
 add line
 pay: use credit-> Y

in backend:
. go to sales invoice window
 invoice has been created with: Days till next due date = 0, and it shold be 30
No tags attached.
patch issue 32797 Source POSTerminal 6365.patch (1,864) 2016-04-29 13:27
https://issues.openbravo.com/file_download.php?file_id=9339&type=bug
patch rr15q2.2 source posterminal v2.patch (1,243) 2016-05-02 11:38
https://issues.openbravo.com/file_download.php?file_id=9344&type=bug
Issue History
2016-04-27 12:40malsasuaNew Issue
2016-04-27 12:40malsasuaAssigned To => Retail
2016-04-27 12:40malsasuaTriggers an Emergency Pack => No
2016-04-27 17:42OrekariaStatusnew => acknowledged
2016-04-28 08:11ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2016-04-28 08:11ranjith_qualiantech_comStatusacknowledged => scheduled
2016-04-29 10:16ranjith_qualiantech_comFile Added: issue 32797 Source POSTerminal 6365.patch
2016-04-29 13:27ranjith_qualiantech_comFile Deleted: issue 32797 Source POSTerminal 6365.patch
2016-04-29 13:27ranjith_qualiantech_comFile Added: issue 32797 Source POSTerminal 6365.patch
2016-04-29 16:44OrekariaFile Added: RR15Q2.2_candidate.patch
2016-05-02 08:37hgbotCheckin
2016-05-02 08:37hgbotNote Added: 0086102
2016-05-02 08:37hgbotCheckin
2016-05-02 08:37hgbotNote Added: 0086103
2016-05-02 08:37hgbotStatusscheduled => resolved
2016-05-02 08:37hgbotResolutionopen => fixed
2016-05-02 08:37hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/cee80440df876c3474b9c5e6af31beea0ae392d3 [^]
2016-05-02 11:38ranjith_qualiantech_comFile Added: rr15q2.2 source posterminal v2.patch
2016-05-02 11:47OrekariaFile Deleted: RR15Q2.2_candidate.patch
2016-05-02 13:04malsasuaResolution time => 1465941600
2016-05-23 18:02migueldejuanaReview Assigned To => migueldejuana
2016-05-23 18:02migueldejuanaNote Added: 0086684
2016-05-23 18:02migueldejuanaStatusresolved => closed

Notes
(0086102)
hgbot   
2016-05-02 08:37   
Repository: tools/automation/pi-mobile
Changeset: e4b5efcfc81b4634409643c01c42762d646282dc
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon May 02 11:58:20 2016 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/e4b5efcfc81b4634409643c01c42762d646282dc [^]

Verifies issue 32797 : Added automated test 'I32797_VerifyInvoiceWithZeroPayment'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I32797_VerifyInvoiceWithZeroPayment.java
---
(0086103)
hgbot   
2016-05-02 08:37   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: cee80440df876c3474b9c5e6af31beea0ae392d3
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon May 02 11:58:29 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/cee80440df876c3474b9c5e6af31beea0ae392d3 [^]

Fixes issue 32797 : Update Invoice Due days if there are no payments

Invoice due days has to be updated, it there are no payments/paid by credit

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0086684)
migueldejuana   
2016-05-23 18:02   
Tested and reviewed in 41d8222cb95e