Openbravo Issue Tracking System - Retail Modules | ||||||||||||||||||||||||||
View Issue Details | ||||||||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||||||||||||||||
0036907 | Retail Modules | Web POS | public | 2017-09-20 18:07 | 2017-11-14 17:34 | |||||||||||||||||||||
Reporter | ngarcia | |||||||||||||||||||||||||
Assigned To | ranjith_qualiantech_com | |||||||||||||||||||||||||
Priority | urgent | Severity | major | Reproducibility | always | |||||||||||||||||||||
Status | closed | Resolution | fixed | |||||||||||||||||||||||
Platform | OS | 5 | OS Version | |||||||||||||||||||||||
Product Version | ||||||||||||||||||||||||||
Target Version | Fixed in Version | RR18Q1 | ||||||||||||||||||||||||
Merge Request Status | ||||||||||||||||||||||||||
Review Assigned To | marvintm | |||||||||||||||||||||||||
OBNetwork customer | ||||||||||||||||||||||||||
Support ticket | ||||||||||||||||||||||||||
Regression level | ||||||||||||||||||||||||||
Regression date | ||||||||||||||||||||||||||
Regression introduced in release | ||||||||||||||||||||||||||
Regression introduced by commit | ||||||||||||||||||||||||||
Triggers an Emergency Pack | No | |||||||||||||||||||||||||
Summary | 0036907: Wrong sales invoice payment plan is created when paying a ticket using credit | |||||||||||||||||||||||||
Description | Wrong sales invoice payment plan is created when paying a ticket using credit | |||||||||||||||||||||||||
Steps To Reproduce | As group admin role: Create a new record in Payment Terms: Overdue Payment Days Rule: 90 Add two lines to it: 1. Percentage Due: 33.33 Overdue Payment Days Rule: 30 Rest: N 2. Percentage Due: 33.33 Overdue Payment Days Rule: 60 Rest: N Create a Business Partner, set it as Customer, add a price list and the previously created Payment Term Assign a credit limit of 10000 to it Set Allow Pay on Credit to 'Y' in POS Terminal Type window Set a product price in the business partner price list to 508.01 EXAMPLE 1: In the POS: Change to previously created customer Add the product with a price of 508.01 Add a payment of 300 to the ticket Use Credit for the rest (208.01) In the backend: Check the created sales invoice has two payment plans (wrong): 1. Due Date: 19-11-2017 Expected Date: 38.64 Received Amount: 0.00 Outstanding Amount: 38.64 2. Due Date: 19-12-2017 Expected Date: 169.37 Received Amount: 300 Outstanding Amount: 169.37 Reactivate and complete the invoice again Check three payment plans are created this time: 1. Due Date: 20-10-2017 Expected Date: 169.32 Received Amount: 169.32 Outstanding Amount: 0 2. Due Date: 20-11-2017 Expected Date: 169.32 Received Amount: 130.68 Outstanding Amount: 38.64 3. Due Date: 19-12-2017 Expected Date: 169.37 Received Amount: 0 Outstanding Amount: 169.37 EXAMPLE 2: In the POS: Change to previously created customer Add the product with a price of 400 Add a payment of 100 to the ticket Use Credit for the rest (300) In the backend: Check the created sales invoice has three payment plans (see attachment wrongPaymentPlanExample2.png): 1. Due Date: 15-11-2017 Expected Amt: 33.32 (wrong, it should be 133.32) Received Amount: 0.00 (wrong, it should be 100) Outstanding Amount: 33.32 2. Due Date: 15-12-2017 Expected amt: 133.32 Received Amount: 0 Outstanding Amount: 133.32 3. Due Date: 14-01-2017 Expected Date: 133.36 Received Amount: 100 (wrong, it should be 0) Outstanding Amount: 133.36 Reactivate and complete the invoice again: the payment plans are regenerated with correct values. See attachment rightPaymentPlan2.png Go to Payment In window: . create new record to previous business partner, and selecting the correct financial account . click in "Add Details": previous invoice is displayed, but only one payment detail (see attachment wrongPaymentInDetails.png) Three details should be displayed to this invoice (see attachment rightPaymentInDetails.png) | |||||||||||||||||||||||||
Proposed Solution | ||||||||||||||||||||||||||
Additional Information | ||||||||||||||||||||||||||
Tags | No tags attached. | |||||||||||||||||||||||||
Relationships |
| |||||||||||||||||||||||||
Attached Files | wrongInvoicePaymentPlanExample2.png (177,267) 2017-10-16 18:53 https://issues.openbravo.com/file_download.php?file_id=11186&type=bug rightInvoicePaymentPlanExample2.png (174,183) 2017-10-16 18:53 https://issues.openbravo.com/file_download.php?file_id=11187&type=bug wrongPaymentInDetailsExample2.png (176,701) 2017-10-16 18:54 https://issues.openbravo.com/file_download.php?file_id=11188&type=bug righPaymentInDetails.png (190,382) 2017-10-16 18:54 https://issues.openbravo.com/file_download.php?file_id=11189&type=bug | |||||||||||||||||||||||||
Issue History | ||||||||||||||||||||||||||
Date Modified | Username | Field | Change | |||||||||||||||||||||||
2017-09-20 18:07 | ngarcia | New Issue | ||||||||||||||||||||||||
2017-09-20 18:07 | ngarcia | Assigned To | => Retail | |||||||||||||||||||||||
2017-09-20 18:07 | ngarcia | Resolution time | => 1507672800 | |||||||||||||||||||||||
2017-09-20 18:07 | ngarcia | Triggers an Emergency Pack | => No | |||||||||||||||||||||||
2017-09-20 18:08 | ngarcia | Relationship added | related to 0035571 | |||||||||||||||||||||||
2017-09-20 18:08 | ngarcia | Issue Monitored: networkb | ||||||||||||||||||||||||
2017-09-21 16:03 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | |||||||||||||||||||||||
2017-09-21 16:03 | ranjith_qualiantech_com | Status | new => scheduled | |||||||||||||||||||||||
2017-10-16 18:52 | malsasua | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=16111#r16111 | |||||||||||||||||||||||
2017-10-16 18:53 | malsasua | File Added: wrongInvoicePaymentPlanExample2.png | ||||||||||||||||||||||||
2017-10-16 18:53 | malsasua | File Added: rightInvoicePaymentPlanExample2.png | ||||||||||||||||||||||||
2017-10-16 18:54 | malsasua | File Added: wrongPaymentInDetailsExample2.png | ||||||||||||||||||||||||
2017-10-16 18:54 | malsasua | File Added: righPaymentInDetails.png | ||||||||||||||||||||||||
2017-10-24 09:24 | hgbot | Checkin | ||||||||||||||||||||||||
2017-10-24 09:24 | hgbot | Note Added: 0100009 | ||||||||||||||||||||||||
2017-10-24 09:24 | hgbot | Status | scheduled => resolved | |||||||||||||||||||||||
2017-10-24 09:24 | hgbot | Resolution | open => fixed | |||||||||||||||||||||||
2017-10-24 09:24 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3393f965bba2ec6aedaeeb5d8426b78ec614e605 [^] | |||||||||||||||||||||||
2017-10-24 09:25 | hgbot | Checkin | ||||||||||||||||||||||||
2017-10-24 09:25 | hgbot | Note Added: 0100010 | ||||||||||||||||||||||||
2017-10-26 18:59 | egoitz | Issue Monitored: egoitz | ||||||||||||||||||||||||
2017-10-30 11:28 | marvintm | Review Assigned To | => marvintm | |||||||||||||||||||||||
2017-10-30 11:28 | marvintm | Status | resolved => closed | |||||||||||||||||||||||
2017-10-30 11:28 | marvintm | Fixed in Version | => RR18Q1 | |||||||||||||||||||||||
2017-11-13 15:23 | hgbot | Checkin | ||||||||||||||||||||||||
2017-11-13 15:23 | hgbot | Note Added: 0100491 | ||||||||||||||||||||||||
2017-11-13 15:23 | hgbot | Status | closed => resolved | |||||||||||||||||||||||
2017-11-13 15:23 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3393f965bba2ec6aedaeeb5d8426b78ec614e605 [^] => http://code.openbravo.com/tools/automation/pi-mobile/rev/c927513c10e9ab0eda3463cf4e8a8edd5341a6d4 [^] | |||||||||||||||||||||||
2017-11-14 17:34 | marvintm | Status | resolved => closed | |||||||||||||||||||||||
2017-11-23 12:40 | ranjith_qualiantech_com | Relationship added | related to 0037343 | |||||||||||||||||||||||
2018-01-02 18:36 | ngarcia | Relationship added | related to 0037571 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|