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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030227
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2015-06-22 18:452015-07-17 14:09
ReportermalsasuaView Statuspublic 
Assigned Tojorge-garcia 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision5380f0e028eb
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Review Assigned Tomigueldejuana
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0030227: when a receipt is paid using credit, the invoice related to this order can not be reactivated

Descriptionwhen a receipt is created in web pos, and it is paid using credit, when cashup is done, the invoice is created, but the invoice can not be reactivated
Steps To Reproduce. in backoffice
 . configure terminal and customer to use credit

. in web pos:
. create a receipt:
 . add line: avalanche
   amount 150.5
 . paid:
    card 100
    use credit 50.5
. do a cashup

. go to backoffice
. sales invoice
 invoice has been created
 . click in reactivate button:
Error:
The invoice has related payments. VBS1000008
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0078635)
hgbot (developer)
2015-07-03 09:37

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 5380f0e028eb2727ca6810866b753c92caddc318
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Fri Jul 03 09:06:44 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5380f0e028eb2727ca6810866b753c92caddc318 [^]

Fixed issue 30227: Cannot reactivate an invoice if it is paid with credit

When a receipt is created in web pos, and it is paid using credit, when cashup
is done, the invoice is created, but the invoice can not be reactivated.

The problem was that the payment was set as not Prepayment and, when in the back
office it's necessary to reactivate the invoice, the function
aprm_gen_paymentschedule_inv raise and error.

The solution is to set to true isPrepayment column if it's used credit.

Now, it's possible to Reactivate the invoice if the customer used credit

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0078932)
migueldejuana (developer)
2015-07-17 14:09

Tested and reviewed in 976cfed505b7

- Issue History
Date Modified Username Field Change
2015-06-22 18:45 malsasua New Issue
2015-06-22 18:45 malsasua Assigned To => Retail
2015-06-22 18:45 malsasua Resolution time => 1437861600
2015-06-22 18:45 malsasua Triggers an Emergency Pack => No
2015-06-26 13:26 jorge-garcia Assigned To Retail => jorge-garcia
2015-06-26 13:26 jorge-garcia Status new => acknowledged
2015-07-03 09:37 hgbot Checkin
2015-07-03 09:37 hgbot Note Added: 0078635
2015-07-03 09:37 hgbot Status acknowledged => resolved
2015-07-03 09:37 hgbot Resolution open => fixed
2015-07-03 09:37 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5380f0e028eb2727ca6810866b753c92caddc318 [^]
2015-07-17 14:09 migueldejuana Review Assigned To => migueldejuana
2015-07-17 14:09 migueldejuana Note Added: 0078932
2015-07-17 14:09 migueldejuana Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker