Openbravo Issue Tracking System - Retail Modules
View Issue Details
0045877Retail ModulesSell at Cost Pricepublic2021-02-10 10:342021-05-14 13:59
guillermogil 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
RR21Q2 
No
0045877: Sell at cost Price module not working since 20Q3
Sell at cost Price module not working since 20Q3
The module was not updated: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.cost/-/blob/master/web/org.openbravo.retail.discounts.cost/source/promotion-cost.js#L39 [^]
Install module
https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.cost [^]
Login on POS
Error is risen: Uncaught TypeError: OB.Model.Discounts.registerRule is not a function
No tags attached.
Issue History
2021-02-10 10:34guillermogilNew Issue
2021-02-10 10:34guillermogilAssigned To => Retail
2021-02-10 10:34guillermogilResolution time => 1615762800
2021-02-10 10:34guillermogilTriggers an Emergency Pack => No
2021-02-22 00:20rqueraltaAssigned ToRetail => rqueralta
2021-02-22 07:00marvintmAssigned Torqueralta => markmm82
2021-02-22 18:26markmm82Statusnew => scheduled
2021-03-15 07:34marvintmAssigned Tomarkmm82 => Retail
2021-03-15 07:40ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2021-03-26 08:29hgbotNote Added: 0126937
2021-03-26 08:29hgbotNote Added: 0126938
2021-03-26 08:29hgbotNote Added: 0126939
2021-03-26 08:29hgbotNote Added: 0126940
2021-03-29 08:31marvintmResolution time1615762800 => 1617141600
2021-03-31 08:10hgbotNote Added: 0127054
2021-03-31 08:10hgbotNote Added: 0127055
2021-03-31 08:10hgbotNote Added: 0127056
2021-03-31 08:10hgbotNote Added: 0127057
2021-03-31 08:10hgbotNote Added: 0127058
2021-03-31 08:10hgbotNote Added: 0127059
2021-03-31 08:10hgbotResolutionopen => fixed
2021-03-31 08:10hgbotStatusscheduled => closed
2021-03-31 08:10hgbotNote Added: 0127060
2021-03-31 08:10hgbotNote Added: 0127061
2021-05-14 13:59marvintmFixed in Version => RR21Q2

Notes
(0126937)
hgbot   
2021-03-26 08:29   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/354 [^]
(0126938)
hgbot   
2021-03-26 08:29   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/22 [^]
(0126939)
hgbot   
2021-03-26 08:29   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.bytotal/-/merge_requests/8 [^]
(0126940)
hgbot   
2021-03-26 08:29   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.cost/-/merge_requests/1 [^]
(0127054)
hgbot   
2021-03-31 08:10   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: ddf4cab20c8d48eff4c518b0c293668d8c3b0112
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-03-31T06:10:06+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/ddf4cab20c8d48eff4c518b0c293668d8c3b0112 [^]

Related to ISSUE-45877: Added new property manuallyAppliedPromotions in discountsFromUser

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/modals/modalDeleteDiscounts.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/ticketdiscount.js
M web/org.openbravo.retail.posterminal/js/utils/ticketListUtils.js
---
(0127055)
hgbot   
2021-03-31 08:10   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/354 [^]
(0127056)
hgbot   
2021-03-31 08:10   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts [^]
Changeset: e53033210e19df14325a4dffb322ee3efb0ce6e7
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-03-25T17:22:00+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/commit/e53033210e19df14325a4dffb322ee3efb0ce6e7 [^]

Related to ISSUE-45877: Added new property manuallyAppliedPromotions in discountsFromUser

---
M web/org.openbravo.retail.discounts/app/model/business-logic/discounts-engine/engine/discount-engine.js
---
(0127057)
hgbot   
2021-03-31 08:10   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/22 [^]
(0127058)
hgbot   
2021-03-31 08:10   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.bytotal [^]
Changeset: b0037bf62b2a153e12b802562c3130f1142e9c5e
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-03-25T17:23:13+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.bytotal/-/commit/b0037bf62b2a153e12b802562c3130f1142e9c5e [^]

Related to ISSUE-45877: Updated hook validation to show total discount message for bytotal discounts

---
M web/org.openbravo.retail.discounts.bytotal/js/enableApplyButtonHook.js
---
(0127059)
hgbot   
2021-03-31 08:10   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.bytotal/-/merge_requests/8 [^]
(0127060)
hgbot   
2021-03-31 08:10   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.cost [^]
Changeset: b7c3c1d1461365b19838ae3e98d8f015a5a06796
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-03-30T19:41:09+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.cost/-/commit/b7c3c1d1461365b19838ae3e98d8f015a5a06796 [^]

Fixed ISSUE-45877: Added New discount engine for Sell at Cost discount

---
A src-db/database/sourcedata/AD_MESSAGE.xml
A src-db/database/sourcedata/AD_MODULE_DBPREFIX.xml
A web/org.openbravo.retail.discounts.cost/app/model/business-logic/discounts-engine/engine/rules/cost-discount.js
A web/org.openbravo.retail.discounts.cost/app/model/business-object/ticket/actions/AddSellAtCostPromotion.js
A web/org.openbravo.retail.discounts.cost/source/preApplyDiscountsHook.js
M src/org/openbravo/retail/discounts/cost/CostPromotionComponentProvider.java
M web/org.openbravo.retail.discounts.cost/source/promotion-cost.js
---
(0127061)
hgbot   
2021-03-31 08:10   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.cost/-/merge_requests/1 [^]