Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0040430 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2019-03-21 12:38 | 2019-03-26 17:57 | |||
Reporter | psanjuan | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | RR19Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 0a7856d5e4e7 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 64 bit | Database | PostgreSQL | Java version | 7.x | |||
OS Version | Openbravo Appliance 14.04 | Database version | 9.3.x | Ant version | 1.9.x | |||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0040430: Duplicated negative invoice created by the cash up process. | |||||||
Description | Duplicated negative invoice created by the cash up process. | |||||||
Steps To Reproduce | In a 19Q1 enviroment, configure below system preference as described below, by putting Web POS module in development: "Web POS restrict invoice if no tax ID" as Y In the backoffice configure channel touchpoint (VBS-1) as: Group orders in one invoice = No Generate invoice for orders = No Go to Web POS and refresh it. Run a cash up process to start. Create a receipt for Arturo Montoro, invoice it and pay it. Write down order number for instance receipt 128 Return that receipt by using the option, verified returs. Invoice that return and pay it. Write down order number, for instace 129 Go to the back office and verify that 2 new invoices have been created: Invoice number 16 related to receipt 128; and Reverse Sales Invoice number 2 related to receipt 129. See image attached 40430_1 Go to Web POS and make another sales for VBS Customer. Do not invoice it. Write down ticket number 130 Return this sales by using the option verified returns. Do not invoice it. Write down ticket number 131 Run Cash up process. Go to the backoffice and verify that there are 2 sales orders, 2 return from customer orders and 5 invoices. The error here is that an additional negative sales invoice is created related to the receipt 129, already invoiced (Reverse Sales Invoice). See image attached 40430_2 | |||||||
Proposed Solution | There should only be 4 invoices in this scenario. Last negative sales invoice should not have been created. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() ![]() | |||||||
![]() |
||||||||
|
![]() |
|
(0110543) psanjuan (viewer) 2019-03-21 13:00 |
This is working OK in 18Q4 |
(0110639) hgbot (developer) 2019-03-26 07:38 |
Repository: retail/backports/3.0RR19Q1/org.openbravo.retail.returns Changeset: 0a7856d5e4e7ae9ecea5973e70c54c83cbe39663 Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Tue Mar 26 12:07:56 2019 +0530 URL: http://code.openbravo.com/retail/backports/3.0RR19Q1/org.openbravo.retail.returns/rev/0a7856d5e4e7ae9ecea5973e70c54c83cbe39663 [^] Fixed issue 40430 : Duplicated negative invoice created by the cash up process It necessary to reset invoicedQuantity property from order line when a verified return line is added. --- M web/org.openbravo.retail.returns/js/returnUtils.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2019-03-21 12:38 | psanjuan | New Issue | |
2019-03-21 12:38 | psanjuan | Assigned To | => Retail |
2019-03-21 12:38 | psanjuan | OBNetwork customer | => No |
2019-03-21 12:38 | psanjuan | Triggers an Emergency Pack | => No |
2019-03-21 13:00 | psanjuan | Note Added: 0110543 | |
2019-03-21 13:00 | psanjuan | Steps to Reproduce Updated | View Revisions |
2019-03-21 13:00 | psanjuan | Proposed Solution updated | |
2019-03-21 13:01 | psanjuan | File Added: 40430_1.jpg | |
2019-03-21 13:02 | psanjuan | File Added: 40430_2.jpg | |
2019-03-25 12:20 | psanjuan | Steps to Reproduce Updated | View Revisions |
2019-03-25 12:20 | psanjuan | Proposed Solution updated | |
2019-03-25 12:20 | psanjuan | Steps to Reproduce Updated | View Revisions |
2019-03-25 12:51 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2019-03-25 12:51 | ranjith_qualiantech_com | Status | new => scheduled |
2019-03-26 07:32 | ranjith_qualiantech_com | Relationship added | related to 0040371 |
2019-03-26 07:38 | hgbot | Checkin | |
2019-03-26 07:38 | hgbot | Note Added: 0110639 | |
2019-03-26 07:38 | hgbot | Status | scheduled => resolved |
2019-03-26 07:38 | hgbot | Resolution | open => fixed |
2019-03-26 07:38 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/retail/backports/3.0RR19Q1/org.openbravo.retail.returns/rev/0a7856d5e4e7ae9ecea5973e70c54c83cbe39663 [^] |
2019-03-26 17:57 | marvintm | Review Assigned To | => marvintm |
2019-03-26 17:57 | marvintm | Status | resolved => closed |
2019-03-26 17:57 | marvintm | Fixed in Version | => RR19Q1 |
Copyright © 2000 - 2009 MantisBT Group |