Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0028983 | Retail Modules | Web POS | public | 2015-02-18 16:29 | 2015-05-25 20:33 | |||||||
Reporter | Orekaria | |||||||||||
Assigned To | Retail | |||||||||||
Priority | urgent | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | no change required | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | marvintm | |||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
Regression level | Automated tests | |||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0028983: Returning a sale causes the invoice to use an already existing c_invoice.documentno | |||||||||||
Description | Returning a sale causes the invoice to use an already existing c_invoice.documentno | |||||||||||
Steps To Reproduce | Log into WebPOS 1. In a new receipt Add a product In the menu, select 'invoice this receipt' Pay and finish the sale 2. In the menu, select Verified returns Select the previous sale In the menu, select 'invoice this receipt' Remember the document number of the receipt Finish the sale 3. Execute this query (change 'VBS1/0000089' with the remembered document number): SELECT m_product.name, c_invoiceline.linenetamt, c_invoiceline.taxamt, c_invoiceline.line_gross_amount, c_invoiceline.qtyinvoiced, c_invoiceline.priceactual, c_invoiceline.gross_unit_price FROM c_invoiceline INNER JOIN c_invoice ON c_invoiceline.c_invoice_id = c_invoice.c_invoice_id INNER JOIN c_orderline ON c_invoiceline.c_orderline_id = c_orderline.c_orderline_id INNER JOIN c_order ON c_orderline.c_order_id = c_order.c_order_id INNER JOIN m_product ON c_orderline.m_product_id = m_product.m_product_id WHERE c_invoice.documentno IN ( SELECT c_invoice.documentno FROM c_invoice INNER JOIN c_order ON c_invoice.c_order_id = c_order.c_order_id WHERE c_order.documentno = 'VBS1/0000089' ) 4. Verify that there are lines in the invoice that do not correspond to the invoiced receipt | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2015-02-18 16:29 | Orekaria | New Issue | ||||||||||
2015-02-18 16:29 | Orekaria | Assigned To | => marvintm | |||||||||
2015-02-18 16:29 | Orekaria | Regression level | => Automated tests | |||||||||
2015-02-18 16:29 | Orekaria | Triggers an Emergency Pack | => No | |||||||||
2015-02-18 21:34 | Orekaria | Summary | Returning a sale causes the invoice to use an already existing documentno => Returning a sale causes the invoice to use an already existing c_invoice.documentno | |||||||||
2015-02-18 21:34 | Orekaria | Description Updated | bug_revision_view_page.php?rev_id=7705#r7705 | |||||||||
2015-02-18 21:34 | Orekaria | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=7707#r7707 | |||||||||
2015-03-20 21:08 | mario_castello | Assigned To | marvintm => mario_castello | |||||||||
2015-03-20 22:10 | Orekaria | Relationship added | blocks 0028933 | |||||||||
2015-03-30 19:00 | Orekaria | Relationship added | blocks 0029465 | |||||||||
2015-03-30 19:00 | Orekaria | Relationship deleted | blocks 0028933 | |||||||||
2015-04-01 13:32 | malsasua | Assigned To | mario_castello => Retail | |||||||||
2015-05-15 10:18 | Orekaria | Severity | critical => major | |||||||||
2015-05-15 17:41 | marvintm | Review Assigned To | => marvintm | |||||||||
2015-05-15 17:41 | marvintm | Note Added: 0077504 | ||||||||||
2015-05-15 17:41 | marvintm | Status | new => closed | |||||||||
2015-05-15 17:41 | marvintm | Resolution | open => no change required | |||||||||
2015-05-15 17:42 | marvintm | Note Edited: 0077504 | bug_revision_view_page.php?bugnote_id=0077504#r8553 | |||||||||
2015-05-22 18:27 | hgbot | Checkin | ||||||||||
2015-05-22 18:27 | hgbot | Note Added: 0077671 | ||||||||||
2015-05-25 20:33 | hgbot | Checkin | ||||||||||
2015-05-25 20:33 | hgbot | Note Added: 0077725 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|