Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028322
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminoralways2014-11-28 16:492015-07-22 10:27
ReporterjecharriView Statuspublic 
Assigned Toaaroncalero 
PriorityhighResolutionfixedFixed in VersionRR15Q3
StatusclosedFix in branchFixed in SCM revisionbb8812553e4a
ProjectionnoneETAnoneTarget VersionRR15Q1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomigueldejuana
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0028322: Not possible to pay a layaway using credit

DescriptionNot possible to pay a layaway using credit
Steps To Reproduce-Configure terminal and business partner to be able to pay using credit
-Create a layaway
-Open layaway and press in total to pay

Verify that credit option does no appear
TagsNo tags attached.
Attached Filespng file icon Selection_032.png [^] (247,009 bytes) 2014-12-17 18:51


png file icon Selection_031.png [^] (469,643 bytes) 2014-12-17 18:51
png file icon Selection_036.png [^] (143,739 bytes) 2014-12-17 20:48


png file icon Selection_035.png [^] (125,895 bytes) 2014-12-17 20:48


? file icon UseCreditIsNotProcessed [^] (179,248 bytes) 2015-04-20 15:54 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
has duplicate defect 0023877 closedadrianromero Not able to pay using credit option for an Layaway order 
related to defect 0029636 closedRetail "Use Credit" button appears in a "To be laid away" receipt 
related to defect 0028963 closedadrianromero [RR15Q1.1] Use Credit button wrongly appears at webpos, when the user selects Layaway this receipt option 
blocks feature request 0029530RR16Q1 closedRetail QA: RR15Q3: Add tests for Mobile applications 

-  Notes
(0072578)
hgbot (developer)
2014-12-16 21:09

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: b25b34637d6313dcd0c0794b8024a575c41a3633
Author: Salvador Zapata <salvador.zapata <at> gmail.com>
Date: Tue Dec 16 17:08:03 2014 -0300
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b25b34637d6313dcd0c0794b8024a575c41a3633 [^]

Fixed issue 28322: Show use credit for layaways

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---
(0072680)
mtaal (manager)
2014-12-17 20:50

Issues found during testing:
1) if there is no credit to use the layaway button is shown too low
2) use credit button is also shown when the total amount is a return amount
3) when changing business partner the logic if the credit button should be shown should be recomputed, as the new bp can or can not be credit enabled
(0072683)
hgbot (developer)
2014-12-17 22:06

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 7b4c96123e6876660491bde496ca541fda2a096d
Author: Salvador Zapata <salvador.zapata <at> gmail.com>
Date: Wed Dec 17 18:05:04 2014 -0300
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7b4c96123e6876660491bde496ca541fda2a096d [^]

Fixed issue 28322: Show use credit for layaways, replace margin solution by clear right

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---
(0072805)
mtaal (manager)
2014-12-24 01:03

Reviewed and tested
(0076636)
lorenzofidalgo (developer)
2015-04-20 15:52

It is still not possible to pay a Layaway receipt with credit.
Using "Use Credit" button in a receipt that is marked as Layaway does not process this receipt. It seems that is processed, but it still remains in "Layaways" section and it is not processed in POS backend.
(0076760)
hgbot (developer)
2015-04-24 15:59

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 2f4858a9484e2e46b18462e26951f62b8f4cb01f
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Fri Apr 24 15:55:37 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2f4858a9484e2e46b18462e26951f62b8f4cb01f [^]

Fixes issue 0028322: Not possible to pay a layaway using credit
Changed OrderLoader to process properly layways paid with credit
* Invoice must be created
* Shipment must be created

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0077029)
malsasua (developer)
2015-05-05 18:03
edited on: 2015-05-05 18:04

when a layaway is paid partially by cash, and the rest of paid is done using credit, the invoice created is wrong:
it is marked as payment completed =Y, and the total paid is incorrect:
steps:
. create new receipt
. set as layaway
. amount 301
. paid total amount as layaway
. load the layaway created in first step
. pay it:
  . cash: 50
  . the rest of amount: using credit

. go to backoffice, check the invoice created:
 . payment complete: yes -->> it should be NO
 . total paid: 301 -->> it should be 50
 . payment plan:
   . received amount: 301 -->> it should be 50

(0077582)
hgbot (developer)
2015-05-19 17:27

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: bb8812553e4a5bda241dea034987fa83fd30b697
Author: Aaron Calero <aaron.calero <at> openbravo.com>
Date: Tue May 19 16:37:52 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/bb8812553e4a5bda241dea034987fa83fd30b697 [^]

Fixed issue 28322: Not possible to pay a layaway using credit

The invoice won't be set as fully paid if there is a credit payment associated, and the 'total paid' amount will be set considering both the gross of the ticket and the amount paid with credit.

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0077930)
migueldejuana (developer)
2015-06-01 13:06

Tested and reviewed in a5c25afa2d03
(0079021)
hgbot (developer)
2015-07-22 10:27

Repository: tools/automation/pi-mobile
Changeset: cc1d505f0a3a42972d73a3c94aecab4be8dc1d48
Author: Aaron Calero <aaron.calero <at> openbravo.com>
Date: Tue May 19 17:21:05 2015 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/cc1d505f0a3a42972d73a3c94aecab4be8dc1d48 [^]

Verifies issue 28322: Added automated tests (I & II)

---
M src-test/org/openbravo/test/mobile/common/selenium/database/WebPOSDatabaseHelper.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/layaway/I28322_WrongInvoiceWhenPayingLayawayWithCreditI.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/layaway/I28322_WrongInvoiceWhenPayingLayawayWithCreditII.java
---

- Issue History
Date Modified Username Field Change
2014-11-28 16:49 jecharri New Issue
2014-11-28 16:49 jecharri Assigned To => marvintm
2014-11-28 16:49 jecharri Resolution time => 1391814000
2014-11-28 16:49 jecharri Triggers an Emergency Pack => No
2014-11-30 11:26 mtaal Resolution time 1391814000 => 1423350000
2014-11-30 11:26 mtaal Assigned To marvintm => szapata
2014-12-16 21:09 hgbot Checkin
2014-12-16 21:09 hgbot Note Added: 0072578
2014-12-16 21:09 hgbot Status new => resolved
2014-12-16 21:09 hgbot Resolution open => fixed
2014-12-16 21:09 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b25b34637d6313dcd0c0794b8024a575c41a3633 [^]
2014-12-17 17:00 mtaal Relationship added has duplicate 0023877
2014-12-17 18:50 mtaal Note Added: 0072670
2014-12-17 18:50 mtaal Status resolved => new
2014-12-17 18:50 mtaal Resolution fixed => open
2014-12-17 18:51 mtaal File Added: Selection_032.png
2014-12-17 18:51 mtaal File Added: Selection_031.png
2014-12-17 19:32 mtaal Note Deleted: 0072670
2014-12-17 20:48 mtaal File Added: Selection_036.png
2014-12-17 20:48 mtaal File Added: Selection_035.png
2014-12-17 20:50 mtaal Note Added: 0072680
2014-12-17 22:06 hgbot Checkin
2014-12-17 22:06 hgbot Note Added: 0072683
2014-12-17 22:06 hgbot Status new => resolved
2014-12-17 22:06 hgbot Resolution open => fixed
2014-12-17 22:06 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b25b34637d6313dcd0c0794b8024a575c41a3633 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7b4c96123e6876660491bde496ca541fda2a096d [^]
2014-12-24 01:03 mtaal Review Assigned To => mtaal
2014-12-24 01:03 mtaal Note Added: 0072805
2014-12-24 01:03 mtaal Status resolved => closed
2014-12-24 01:03 mtaal Fixed in Version => RR15Q1
2015-04-20 15:52 lorenzofidalgo Note Added: 0076636
2015-04-20 15:52 lorenzofidalgo Status closed => new
2015-04-20 15:52 lorenzofidalgo Resolution fixed => open
2015-04-20 15:52 lorenzofidalgo Fixed in Version RR15Q1 =>
2015-04-20 15:52 lorenzofidalgo Relationship added related to 0029636
2015-04-20 15:54 lorenzofidalgo File Added: UseCreditIsNotProcessed
2015-04-20 16:10 Orekaria Relationship added blocks 0029396
2015-04-20 16:10 Orekaria Relationship deleted blocks 0029396
2015-04-20 16:11 Orekaria Relationship added blocks 0029530
2015-04-20 16:42 lorenzofidalgo Relationship added related to 0028963
2015-04-24 15:50 adrianromero Assigned To szapata => adrianromero
2015-04-24 15:59 hgbot Checkin
2015-04-24 15:59 hgbot Note Added: 0076760
2015-04-24 15:59 hgbot Status new => resolved
2015-04-24 15:59 hgbot Resolution open => fixed
2015-04-24 15:59 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7b4c96123e6876660491bde496ca541fda2a096d [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2f4858a9484e2e46b18462e26951f62b8f4cb01f [^]
2015-05-05 18:03 malsasua Note Added: 0077029
2015-05-05 18:03 malsasua Status resolved => new
2015-05-05 18:03 malsasua Resolution fixed => open
2015-05-05 18:04 malsasua Note Edited: 0077029 View Revisions
2015-05-19 17:27 hgbot Checkin
2015-05-19 17:27 hgbot Note Added: 0077582
2015-05-19 17:27 hgbot Status new => resolved
2015-05-19 17:27 hgbot Resolution open => fixed
2015-05-19 17:27 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2f4858a9484e2e46b18462e26951f62b8f4cb01f [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/bb8812553e4a5bda241dea034987fa83fd30b697 [^]
2015-05-19 17:38 aaroncalero Assigned To adrianromero => aaroncalero
2015-06-01 13:06 migueldejuana Review Assigned To mtaal => migueldejuana
2015-06-01 13:06 migueldejuana Note Added: 0077930
2015-06-01 13:06 migueldejuana Status resolved => closed
2015-06-01 13:06 migueldejuana Fixed in Version => RR15Q3
2015-07-22 10:27 hgbot Checkin
2015-07-22 10:27 hgbot Note Added: 0079021


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker