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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031172
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2015-10-19 13:172015-11-09 10:52
Reportereduardo_ArgalView Statuspublic 
Assigned Tomarvintm 
PriorityurgentResolutionfixedFixed in VersionRR16Q1
StatusclosedFix in branchFixed in SCM revision716d975afc05
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguilleaer
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0031172: Payment Schedule details are wrong when creating Layaways in WebPOS

DescriptionWhen creating a layaway in WebPOS payment schedule details for the order once synchronized with backend are wrong.
Outsanding amount is never taken into account so that PSD is missing.
Ex: Create a ticket for total of 20 and pay 10.
Two PSD shuold be created:
   * One for the paid amount 10 (pointing to the created payment)
   * One for the outstanding amount 10 (with no relation to any payment. Pending to be paid)
As this last detail is missing, layaways can not be paid in ERP
Steps To Reproduce1. Log in in vallblanca store
2. Create a new ticket and add 1 'Avalanche transciever'
3. Press menu option 'Layaway this receipt'
4. Click on paid button (150.50)
5. Add 50 Cash
6. Click on Layaway
7. Verify order has been synchronized
8. Move to Backend and look for the ticket
9. Press on add payment and realize that no detail can be selected
10. Query database and verify just one PSD has been created
Proposed SolutionFix orderloader to create this missing PSD and modify creation of payments for layaways to take into account this new PSD needs to be consumed when paying (now PSD are always created)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0081323)
hgbot (developer)
2015-10-26 18:48

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 716d975afc050bb7d7629553683a80600f6711a5
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Oct 26 15:31:12 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/716d975afc050bb7d7629553683a80600f6711a5 [^]

Fixed issue 31172. Now payment plan will always have correct payment schedule detail:
- In the case of layaways, there will always be a payment schedule detail for the amount pending to be paid, associated to the payment schedule
- If an operation occurs (for example, if a partial payment is added, or the payment is finally completed), all non associated payment schedule details are deleted, and a new one for the remaining is created.

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0081614)
hgbot (developer)
2015-11-09 10:52

Repository: tools/automation/pi-mobile
Changeset: 5707ccbdb292d2315d9e9f8df790ac267e81d6b4
Author: Christian Goni <christian.goni <at> openbravo.com>
Date: Tue Nov 03 13:20:33 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/5707ccbdb292d2315d9e9f8df790ac267e81d6b4 [^]

Verify Issue 31172 :Payment Schedule details are wrong when creating Layaways in WebPOS

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sales/I31172_WrongPSDOnLayaways.java
---

- Issue History
Date Modified Username Field Change
2015-10-19 13:17 eduardo_Argal New Issue
2015-10-19 13:17 eduardo_Argal Assigned To => Retail
2015-10-19 17:44 aaroncalero Resolution time => 1445814000
2015-10-20 14:34 Orekaria Resolution time 1445814000 => 1446418800
2015-10-20 14:35 Orekaria Status new => acknowledged
2015-10-20 16:09 marvintm Project Java Client POS => Retail Modules
2015-10-20 16:09 marvintm Triggers an Emergency Pack => No
2015-10-20 16:09 marvintm Category 02 - ERP-POS Integration => Web POS
2015-10-26 18:48 hgbot Checkin
2015-10-26 18:48 hgbot Note Added: 0081323
2015-10-26 18:48 hgbot Status acknowledged => resolved
2015-10-26 18:48 hgbot Resolution open => fixed
2015-10-26 18:48 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/716d975afc050bb7d7629553683a80600f6711a5 [^]
2015-10-30 12:29 marvintm Assigned To Retail => marvintm
2015-10-30 12:30 marvintm Review Assigned To => guilleaer
2015-11-02 09:39 guilleaer Status resolved => closed
2015-11-02 09:39 guilleaer Fixed in Version => RR16Q1
2015-11-09 10:52 hgbot Checkin
2015-11-09 10:52 hgbot Note Added: 0081614


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker