Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0032557 | Retail Modules | Gift cards and gift vouchers | public | 2016-03-30 12:46 | 2016-04-20 17:38 |
|
Reporter | umartirena | |
Assigned To | mario_castello | |
Priority | urgent | 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 | migueldejuana |
OBNetwork customer | OBPS |
Support ticket | |
Regression level | Production - QA Approved |
Regression date | 2015-10-09 |
Regression introduced in release | |
Regression introduced by commit | https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/067080dd7985832d8b1ef85cf2a16b79d894dec0 [^] |
Triggers an Emergency Pack | No |
|
Summary | 0032557: Return Line button is displayed even "Switch from positive to return line" preference is set to "N" |
Description | Return Line button is displayed even "Switch from positive to return line" preference is set to "N".
This issue happens only when gift cards and vouchers module is installed. |
Steps To Reproduce | Having gift cards and vouchers module installed.
In ERP Backend:
- Preference: Enable switch from positive line to return line - value N
In Webpos:
- Create a receipt
- Select the line of the product
- Expected result: The button Return line should be hidden using the preference Enable switch from positive line to return line, but it is not hided.
|
Proposed Solution | Find proposed solution attached. |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0032787 | | closed | shivum039 | [RR16Q2] "Return Line" button should be hidden when receipt is marked as "To be Returned", but that button is shown |
|
Attached Files | hideReturnLine.diff (670) 2016-03-30 12:46 https://issues.openbravo.com/file_download.php?file_id=9217&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2016-03-30 12:46 | umartirena | New Issue | |
2016-03-30 12:46 | umartirena | Assigned To | => Retail |
2016-03-30 12:46 | umartirena | File Added: hideReturnLine.diff | |
2016-03-30 12:46 | umartirena | OBNetwork customer | => Yes |
2016-03-30 12:46 | umartirena | Regression level | => Production - QA Approved |
2016-03-30 12:46 | umartirena | Regression date | => 2015-10-09 |
2016-03-30 12:46 | umartirena | Regression introduced by commit | => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/067080dd7985832d8b1ef85cf2a16b79d894dec0 [^] |
2016-03-30 12:46 | umartirena | Triggers an Emergency Pack | => No |
2016-03-30 13:07 | Orekaria | Status | new => acknowledged |
2016-03-31 16:15 | mario_castello | Assigned To | Retail => mario_castello |
2016-04-04 12:50 | umartirena | Resolution time | => 1460498400 |
2016-04-04 16:47 | mario_castello | Status | acknowledged => scheduled |
2016-04-05 17:28 | hgbot | Checkin | |
2016-04-05 17:28 | hgbot | Note Added: 0085451 | |
2016-04-05 17:28 | hgbot | Status | scheduled => resolved |
2016-04-05 17:28 | hgbot | Resolution | open => fixed |
2016-04-05 17:28 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1db053b68f1c288b757f7d33ad06fa5b333fbacd [^] |
2016-04-07 15:35 | hgbot | Checkin | |
2016-04-07 15:35 | hgbot | Note Added: 0085490 | |
2016-04-07 15:41 | hgbot | Checkin | |
2016-04-07 15:41 | hgbot | Note Added: 0085491 | |
2016-04-19 16:53 | migueldejuana | Note Added: 0085750 | |
2016-04-19 16:53 | migueldejuana | Status | resolved => new |
2016-04-19 16:53 | migueldejuana | Resolution | fixed => open |
2016-04-19 17:16 | mario_castello | Status | new => acknowledged |
2016-04-19 17:16 | mario_castello | Status | acknowledged => scheduled |
2016-04-19 17:53 | mario_castello | Note Added: 0085755 | |
2016-04-19 17:54 | mario_castello | Note Edited: 0085755 | bug_revision_view_page.php?bugnote_id=0085755#r11800 |
2016-04-19 18:54 | mario_castello | Note Edited: 0085755 | bug_revision_view_page.php?bugnote_id=0085755#r11801 |
2016-04-19 18:54 | mario_castello | Note Edited: 0085755 | bug_revision_view_page.php?bugnote_id=0085755#r11802 |
2016-04-20 15:57 | hgbot | Checkin | |
2016-04-20 15:57 | hgbot | Note Added: 0085782 | |
2016-04-20 16:02 | hgbot | Checkin | |
2016-04-20 16:02 | hgbot | Note Added: 0085783 | |
2016-04-20 16:02 | hgbot | Status | scheduled => resolved |
2016-04-20 16:02 | hgbot | Resolution | open => fixed |
2016-04-20 16:02 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1db053b68f1c288b757f7d33ad06fa5b333fbacd [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.sampledata/rev/4bec6e2763eafe1ad69a77b3df608879859184cd [^] |
2016-04-20 17:38 | migueldejuana | Review Assigned To | => migueldejuana |
2016-04-20 17:38 | migueldejuana | Note Added: 0085785 | |
2016-04-20 17:38 | migueldejuana | Status | resolved => closed |
2016-04-27 10:54 | Orekaria | Relationship added | related to 0032787 |
Notes |
|
(0085451)
|
hgbot
|
2016-04-05 17:28
|
|
|
|
(0085490)
|
hgbot
|
2016-04-07 15:35
|
|
|
|
(0085491)
|
hgbot
|
2016-04-07 15:41
|
|
|
|
|
We shouldn't add a preference to the sampledata just to use it in a test.
Instead of adding a preference to sampledata and update the value in the test, create and remove the needed preference in the test.
When pushing the commit, please, add a message explaining the change. Why it only happens with giftcards module installed? |
|
|
(0085755)
|
mario_castello
|
2016-04-19 17:53
(edited on: 2016-04-19 18:54) |
|
The gift card module implements the hook OBPOS_LineSelected to validate whether the product is a gift card or not.
Then throws the onHideReturnLineButton event to hide or show the button to return lines.
Although the preference "Enable switch from positive line to return line" is set to N if it is a normal product the return line button remains visible
because when the gift card module executes the validation sends this button to show.
|
|
|
(0085782)
|
hgbot
|
2016-04-20 15:57
|
|
|
|
(0085783)
|
hgbot
|
2016-04-20 16:02
|
|
|
|
|
|