Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0032719 | Retail Modules | Cash up | public | 2016-04-19 18:02 | 2016-05-17 09:27 |
Reporter | malsasua | ||||
Assigned To | ranjith_qualiantech_com | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 20 | OS Version | Community Appliance | |
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | migueldejuana | ||||
OBNetwork customer | OBPS | ||||
Support ticket | 41580 | ||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0032719: cashup is creating the invoices with the receipt location instead of invoice location | ||||
Description | when cashup is done, the invoice created is using the receipt location, and it should be created using the invoice location of receipt. Usually, the invoice location is the same that receipt location, but when they are distinct, the invoices created are inconsistently | ||||
Steps To Reproduce | in web POS: . create receipt1 -> customer1, location1, product: p1, total amount: 10 . create receipt2 -> customer1, location1, product: p2, total amount: 5 . create receipt3 -> customer1, location2, product: p3, total amount: 3 in backoffice, change the invoice location of receipt 3, from location2 to location1. It is not possible to change it by UI, you need to change it doing a update in database in web POS: . do cashup in backoffice: . two invoice have been created: invoice1: total amount 15 3 lines: p1, p2 and p3 invoice2: total amount 3 0 lines | ||||
Proposed Solution | in line https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/annotate/3e3be280c7ca/src/org/openbravo/retail/posterminal/OrderGroupingProcessor_data.xsql#l47 [^] and https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/annotate/3e3be280c7ca/src/org/openbravo/retail/posterminal/OrderGroupingProcessor_data.xsql#l61 [^] change o.c_bpartner_location_id to coalesce(o.billto_id, o.c_bpartner_location_id) | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2016-04-19 18:02 | malsasua | New Issue | |||
2016-04-19 18:02 | malsasua | Assigned To | => Retail | ||
2016-04-19 18:02 | malsasua | OBNetwork customer | => Yes | ||
2016-04-19 18:02 | malsasua | Support ticket | => 41580 | ||
2016-04-19 18:02 | malsasua | Resolution time | => 1464300000 | ||
2016-04-19 18:02 | malsasua | Triggers an Emergency Pack | => No | ||
2016-04-19 18:05 | malsasua | Proposed Solution updated | |||
2016-04-19 18:55 | Orekaria | Status | new => acknowledged | ||
2016-04-20 10:01 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | ||
2016-04-20 10:01 | ranjith_qualiantech_com | Status | acknowledged => scheduled | ||
2016-04-27 10:51 | hgbot | Checkin | |||
2016-04-27 10:51 | hgbot | Note Added: 0086016 | |||
2016-04-27 10:51 | hgbot | Status | scheduled => resolved | ||
2016-04-27 10:51 | hgbot | Resolution | open => fixed | ||
2016-04-27 10:51 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/aecb82cbac46c44698ce1f18e3918ae262a3f410 [^] | ||
2016-05-17 09:27 | migueldejuana | Review Assigned To | => migueldejuana | ||
2016-05-17 09:27 | migueldejuana | Note Added: 0086484 | |||
2016-05-17 09:27 | migueldejuana | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|