Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0045517 | Retail Modules | Coupons OTF | public | 2020-11-26 16:52 | 2020-12-04 13:09 |
Reporter | aferraz | ||||
Assigned To | prakashmurugesan88 | ||||
Priority | normal | Severity | major | Reproducibility | have not tried |
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 | 0045517: OBCPOTFCouponrulesPrint masterdata model not filtered by org | ||||
Description | OBCPOTFCouponrulesPrint masterdata model not filtered by org | ||||
Steps To Reproduce | - Login in https://livebuilds.openbravo.com/retail_modules_pgsql_pi [^] - Open "OTF_5_EUR" OTF Coupons Generation Rules - Move to Print tab and remove the record created for * org. - Create three new records in Print tab: First one for * org, "English (USA)" language and "*" print title and text. Second one for "Vall Blanca Store" org, "English (USA)" language and "Vall Blanca Store" print title and text. Third one for "Vall Boí Store" org, "English (USA)" language and "Vall Boí Store" print title and text. - Login in https://livebuilds.openbravo.com/retail_modules_pgsql_pi/web/org.openbravo.retail.posterminal/?terminal=VBS-1 [^] - Create a ticket with one unit of Bivy bag gore-tex in order to gnerate the above coupon. Check the printed coupon can be any of the three defined: "*", "Vall Blanca Store" or "Vall Boí Store". | ||||
Proposed Solution | Add e.$naturalOrgCriteria filter in CouponrulesPrint.getQuery(). In org.openbravo.retail.discounts.coupons.otf/js/utils.js line 567, take the OBCPOTFCouponrulesPrint that applies to current store. | ||||
Additional Information | |||||
Tags | NOR | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2020-11-26 16:52 | aferraz | New Issue | |||
2020-11-26 16:52 | aferraz | Assigned To | => Retail | ||
2020-11-26 16:52 | aferraz | Triggers an Emergency Pack | => No | ||
2020-11-26 16:56 | aferraz | Summary | Coupon printing not correct => OBCPOTFCouponrulesPrint masterdata model not filtered by org | ||
2020-11-26 16:56 | aferraz | Description Updated | bug_revision_view_page.php?rev_id=21901#r21901 | ||
2020-11-26 16:56 | aferraz | Proposed Solution updated | |||
2020-11-26 17:01 | aferraz | File Added: 45517.diff | |||
2020-11-26 17:02 | aferraz | Resolution time | => 1608159600 | ||
2020-11-26 17:03 | aferraz | Tag Attached: NOR | |||
2020-11-26 17:53 | aferraz | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=21903#r21903 | ||
2020-11-26 17:55 | aferraz | Proposed Solution updated | |||
2020-11-26 17:55 | aferraz | File Deleted: 45517.diff | |||
2020-11-27 09:13 | prakashmurugesan88 | Assigned To | Retail => prakashmurugesan88 | ||
2020-11-27 14:21 | prakashmurugesan88 | Status | new => scheduled | ||
2020-12-04 06:24 | hgbot | Note Added: 0124706 | |||
2020-12-04 13:09 | hgbot | Note Added: 0124711 | |||
2020-12-04 13:09 | hgbot | Resolution | open => fixed | ||
2020-12-04 13:09 | hgbot | Status | scheduled => closed | ||
2020-12-04 13:09 | hgbot | Note Added: 0124712 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|