Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0047226 | POS2 | POS | public | 2021-06-23 12:38 | 2021-08-16 15:15 |
|
Reporter | marvintm | |
Assigned To | AtulOpenbravo | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0047226: Credit notes generated when "Credit note expiration days" is set to 0 cannot be used |
Description | If the field "Credit notes expiration days" is set to 0 in the Organization configuration, the generated credit notes have no expiration date. This is correct.
However, when you then try to use those credit notes to pay, the "Apply" button is disabled. The reason is that the system incorrectly considers that the expiration date is "1970". This is wrong. |
Steps To Reproduce | -Configure "Credit notes expiration days" to 0 in Organization window.
- Log in the WebPOS. Generate a credit note, by either configuring the "Return overpayment as credit note" flag in a payment method, and then generating overpayment, or just generating a credit note from a returned order by using this development: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/73 [^]
- Create a normal sales order. Select to pay it with credit note. Input the document number of the credit note in the selector. Realise that the credit note is correctly opened, but the "Apply" button is disabled. Realise also that the expiration date is set to "01-01-1970" |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0047627 | TAP | closed | AtulOpenbravo | [TAP only] Credit note with no expiration date can't be consumed | related to | defect | 0047677 | | closed | AtulOpenbravo | Close button in Gift Card Dialog Form does not close the dialog |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2021-06-23 12:38 | marvintm | New Issue | |
2021-06-23 12:38 | marvintm | Assigned To | => Retail |
2021-06-23 12:38 | marvintm | Triggers an Emergency Pack | => No |
2021-07-14 09:40 | dmiguelez | Resolution time | => 1628028000 |
2021-07-14 09:40 | dmiguelez | Status | new => acknowledged |
2021-07-29 09:29 | dmiguelez | Assigned To | Retail => prakashmurugesan88 |
2021-07-29 09:30 | prakashmurugesan88 | Status | acknowledged => scheduled |
2021-08-06 11:26 | dmiguelez | Assigned To | prakashmurugesan88 => AtulOpenbravo |
2021-08-06 11:26 | dmiguelez | Status | scheduled => acknowledged |
2021-08-06 11:33 | dmiguelez | Resolution time | 1628028000 => 1629410400 |
2021-08-11 13:05 | AtulOpenbravo | Status | acknowledged => scheduled |
2021-08-12 12:44 | hgbot | Note Added: 0131097 | |
2021-08-12 12:59 | AtulOpenbravo | Note Added: 0131100 | |
2021-08-16 15:15 | hgbot | Resolution | open => fixed |
2021-08-16 15:15 | hgbot | Status | scheduled => closed |
2021-08-16 15:15 | hgbot | Note Added: 0131145 | |
2021-08-16 15:15 | hgbot | Note Added: 0131146 | |
2021-09-06 11:39 | AtulOpenbravo | Relationship added | related to 0047627 |
2021-09-13 12:33 | AtulOpenbravo | Relationship added | related to 0047677 |
Notes |
|
(0131097)
|
hgbot
|
2021-08-12 12:44
|
|
|
|
|
Test Plan
-Configure "Credit notes expiration days" to 0 in Organization window.
- Log in the WebPOS.
- Generate a credit note, by either configuring the "Return overpayment as credit note" flag in a payment method, and then generating overpayment.
- Create a normal sales order. Select to pay it with credit note. Input the document number of the credit note in the selector.
- Realise that the credit note is correctly opened, the "Apply" button is enabled.
- Realise that the expiration date is set as blank. |
|
|
(0131145)
|
hgbot
|
2021-08-16 15:15
|
|
|
|
(0131146)
|
hgbot
|
2021-08-16 15:15
|
|
|