Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0042617
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts and Promotionsmajoralways2019-12-20 11:022019-12-23 09:38
ReporterguillermogilView Statuspublic 
Assigned Tojorge-garcia 
PriorityurgentResolutionfixedFixed in VersionRR20Q1
StatusclosedFix in branchFixed in SCM revision99e208da461d
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguilleaer
Regression levelPre packaging ( pi )
Regression date
Regression introduced in releaseRR19Q4
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0042617: OBPOS_PreApplyAutomaticDiscount not being executed

DescriptionOBPOS_PreApplyAutomaticDiscount not being executed with the new discounts engine
Steps To Reproduce- Put a breakpoint in OBPOS_PreApplyAutomaticDiscount
- Add GPS Handeld product (has an automatic discount)

You will see it is not being executed
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0042622RR19Q4.1 closedjorge-garcia OBPOS_PreApplyAutomaticDiscount not being executed 

-  Notes
(0116469)
jorge-garcia (reporter)
2019-12-20 13:53

Reopen to create backports
(0116476)
hgbot (developer)
2019-12-23 08:34

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 99e208da461d45674df9426e6bc04e4651bd3de5
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Fri Dec 20 13:41:51 2019 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/99e208da461d45674df9426e6bc04e4651bd3de5 [^]

Fixed issue 42617: A new hook OBPOS_PreApplyNewDiscountEngine has been defined
to be able to change rule list.

This new hook CANNOT be asynchronous and should not affect to receipt argument.

Old OBPOS_PreApplyAutomaticDiscount register hook should be adapted and use
OBPOS_PreApplyNewDiscountEngine instead.

---
M web/org.openbravo.retail.posterminal/js/discountsengine/pos/pos-discounts.js
---
(0116477)
jorge-garcia (reporter)
2019-12-23 08:53

New hook defined in documentation:

http://wiki.openbravo.com/wiki/List_of_Hooks_in_Web_POS#Hooks_in_Posterminal_and_Mobile_Core [^]

- Issue History
Date Modified Username Field Change
2019-12-20 11:02 guillermogil New Issue
2019-12-20 11:02 guillermogil Assigned To => Retail
2019-12-20 11:02 guillermogil Regression level => Pre packaging ( pi )
2019-12-20 11:02 guillermogil Triggers an Emergency Pack => No
2019-12-20 11:14 jorge-garcia Assigned To Retail => jorge-garcia
2019-12-20 11:21 jorge-garcia Status new => scheduled
2019-12-20 12:38 marvintm Resolution time => 1578610800
2019-12-20 13:53 jorge-garcia Note Added: 0116469
2019-12-20 13:53 jorge-garcia Status scheduled => acknowledged
2019-12-20 13:53 jorge-garcia Status acknowledged => scheduled
2019-12-23 08:34 hgbot Checkin
2019-12-23 08:34 hgbot Note Added: 0116476
2019-12-23 08:34 hgbot Status scheduled => resolved
2019-12-23 08:34 hgbot Resolution open => fixed
2019-12-23 08:34 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/99e208da461d45674df9426e6bc04e4651bd3de5 [^]
2019-12-23 08:53 jorge-garcia Note Added: 0116477
2019-12-23 09:18 guilleaer Review Assigned To => guilleaer
2019-12-23 09:18 guilleaer Status resolved => closed
2019-12-23 09:18 guilleaer Fixed in Version => RR20Q1
2019-12-23 09:38 guilleaer Regression introduced in release => RR19Q4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker