Openbravo Issue Tracking System - Retail Modules | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0030176 | Retail Modules | Discounts and Promotions | public | 2015-06-15 10:28 | 2015-09-04 15:03 | ||||||||||||||
Reporter | asiermartirena | ||||||||||||||||||
Assigned To | jorge-garcia | ||||||||||||||||||
Priority | immediate | Severity | trivial | Reproducibility | always | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | |||||||||||||||||||
Target Version | Fixed in Version | RR15Q4 | |||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | marvintm | ||||||||||||||||||
OBNetwork customer | |||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | Code review | ||||||||||||||||||
Regression date | 2015-05-05 | ||||||||||||||||||
Regression introduced in release | main | ||||||||||||||||||
Regression introduced by commit | https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a1c1c77a3384b2225f92d600ae03073ada0c5c0d [^] | ||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0030176: Problem with identifier attribute created to show discounts | ||||||||||||||||||
Description | When adding a promotion to a product list, an identifier attribute is generated to show a customized name for that promotion. Then, when rendering the line that identifier value is taken and assigned to show in the discount line. This identifier is not stored in any column in database, so when someone tries to generate again the ticket (for example when creating a return ticket), the line renderization tries to access to the not stored identifier value. This casuses that 'undefined' value is shown for the recovered discount line. | ||||||||||||||||||
Steps To Reproduce | Create a ticket and add a discount to a product. Pay the ticket. Return the ticket and select the product with the discount. In the order created the discount will be shown with the name 'undefined'. | ||||||||||||||||||
Proposed Solution | Create a new column to store the identifier value, and only fill it if the identifier is needed. Then, when creating the discount component don't assign the identifier directly. Check if the identifier is filled, and else assign the name value. | ||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | 30176_posterminal.diff (2,795) 2015-07-01 13:10 https://issues.openbravo.com/file_download.php?file_id=8257&type=bug 30176_discounts.diff (5,879) 2015-07-01 13:10 https://issues.openbravo.com/file_download.php?file_id=8258&type=bug | ||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2015-06-15 10:28 | asiermartirena | New Issue | |||||||||||||||||
2015-06-15 10:28 | asiermartirena | Assigned To | => Retail | ||||||||||||||||
2015-06-15 10:28 | asiermartirena | Regression level | => Code review | ||||||||||||||||
2015-06-15 10:28 | asiermartirena | Regression date | => 2015-05-05 | ||||||||||||||||
2015-06-15 10:28 | asiermartirena | Regression introduced in release | => main | ||||||||||||||||
2015-06-15 10:28 | asiermartirena | Regression introduced by commit | => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a1c1c77a3384b2225f92d600ae03073ada0c5c0d [^] | ||||||||||||||||
2015-06-15 10:28 | asiermartirena | Triggers an Emergency Pack | => No | ||||||||||||||||
2015-06-29 16:21 | asiermartirena | File Added: 30176_discounts.diff | |||||||||||||||||
2015-06-29 16:21 | asiermartirena | File Added: 30176_posterminal.diff | |||||||||||||||||
2015-07-01 13:09 | asiermartirena | File Deleted: 30176_discounts.diff | |||||||||||||||||
2015-07-01 13:10 | asiermartirena | File Deleted: 30176_posterminal.diff | |||||||||||||||||
2015-07-01 13:10 | asiermartirena | File Added: 30176_posterminal.diff | |||||||||||||||||
2015-07-01 13:10 | asiermartirena | File Added: 30176_discounts.diff | |||||||||||||||||
2015-07-02 10:03 | marvintm | Status | new => scheduled | ||||||||||||||||
2015-07-17 09:08 | lorenzofidalgo | Relationship added | related to 0030385 | ||||||||||||||||
2015-08-14 13:26 | hgbot | Checkin | |||||||||||||||||
2015-08-14 13:26 | hgbot | Note Added: 0079358 | |||||||||||||||||
2015-08-14 13:26 | hgbot | Status | scheduled => resolved | ||||||||||||||||
2015-08-14 13:26 | hgbot | Resolution | open => fixed | ||||||||||||||||
2015-08-14 13:26 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/aa0b535fc3e586c30aee23dbe8665b97736c6c43 [^] | ||||||||||||||||
2015-08-14 13:26 | hgbot | Checkin | |||||||||||||||||
2015-08-14 13:26 | hgbot | Note Added: 0079360 | |||||||||||||||||
2015-08-14 13:26 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/aa0b535fc3e586c30aee23dbe8665b97736c6c43 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/acfc788c2c5ce9401c9fe9a1d1a4e5a30d9082aa [^] | ||||||||||||||||
2015-08-14 14:26 | hgbot | Checkin | |||||||||||||||||
2015-08-14 14:26 | hgbot | Note Added: 0079363 | |||||||||||||||||
2015-08-14 14:26 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/acfc788c2c5ce9401c9fe9a1d1a4e5a30d9082aa [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/3037b3f02cf7bca0c99b8a77974782465772108f [^] | ||||||||||||||||
2015-08-31 09:19 | marvintm | Assigned To | Retail => jorge-garcia | ||||||||||||||||
2015-08-31 09:19 | marvintm | Review Assigned To | => marvintm | ||||||||||||||||
2015-08-31 09:19 | marvintm | Status | resolved => closed | ||||||||||||||||
2015-08-31 09:19 | marvintm | Fixed in Version | => RR15Q4 | ||||||||||||||||
2015-09-04 15:03 | hgbot | Checkin | |||||||||||||||||
2015-09-04 15:03 | hgbot | Note Added: 0080126 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|