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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040881
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts by Totalmajoralways2019-05-15 10:142019-05-16 19:11
ReporterLeyreView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityurgentResolutionfixedFixed in VersionRR19Q3
StatusclosedFix in branchFixed in SCM revision51efe219a705
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0040881: Error in console browser in a POS Terminal SCO, due to type "byTotal" discounts

DescriptionError in console browser in a POS Terminal SCO, due to type "byTotal" discounts
Steps To ReproduceBACKEND:

1. Define a discount type "User Defined Amount"
2. Define a discount type "Variable Discount per Total Amount"

WEB POS:
1. Add three units of a product, for example: Avalanche transceiver. This product must be marked as "non grouped"
2. Add the first defined discount -> User Defined Amount
3. Add the second defined discount -> Variable Discount per Total Amount
4. Go to SCO mode and verify that there are errors in the console.
TagsNo tags attached.
Attached Filespng file icon byTotalDiscount.png [^] (359,655 bytes) 2019-05-15 10:14

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0111721)
hgbot (developer)
2019-05-16 15:47

Repository: erp/pmods/org.openbravo.retail.discounts.bytotal
Changeset: 970860a0a15ee68c052733976a17c8fd366ea9b0
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu May 16 19:17:35 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.bytotal/rev/970860a0a15ee68c052733976a17c8fd366ea9b0 [^]

Related to issue 40881 : New Backbone Collection has been created for receipt orderManualPromotions

---
M web/org.openbravo.retail.discounts.bytotal/js/preApplyDiscountsHook.js
---
(0111722)
hgbot (developer)
2019-05-16 15:48

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 51efe219a70508c64e0d4674afc61e605a9df04c
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu May 16 19:17:46 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/51efe219a70508c64e0d4674afc61e605a9df04c [^]

Fixed issue 40881 : Receipt orderManualPromotions should be initialized with Custom Backbone Collection and Model

* When receipt is saved with orderManualPromotions (By Total discounts),
  if we do refresh or change window from pointofsale to SCO, discountRule object present in orderManualPromotions is not converted to model.
  So when initializing the order, discountRule object from orderManualPromotions should be updated discount model

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---

- Issue History
Date Modified Username Field Change
2019-05-15 10:14 Leyre New Issue
2019-05-15 10:14 Leyre Assigned To => Retail
2019-05-15 10:14 Leyre File Added: byTotalDiscount.png
2019-05-15 10:14 Leyre Resolution time => 1558303200
2019-05-15 10:14 Leyre Triggers an Emergency Pack => No
2019-05-15 10:15 Leyre Relationship added caused by 0040666
2019-05-15 11:06 Leyre Relationship deleted caused by 0040666
2019-05-15 11:07 Leyre Resolution time 1558303200 => 1559685600
2019-05-15 11:07 Leyre Priority immediate => urgent
2019-05-15 13:59 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2019-05-15 13:59 ranjith_qualiantech_com Status new => scheduled
2019-05-16 15:47 hgbot Checkin
2019-05-16 15:47 hgbot Note Added: 0111721
2019-05-16 15:48 hgbot Checkin
2019-05-16 15:48 hgbot Note Added: 0111722
2019-05-16 15:48 hgbot Status scheduled => resolved
2019-05-16 15:48 hgbot Resolution open => fixed
2019-05-16 15:48 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/51efe219a70508c64e0d4674afc61e605a9df04c [^]
2019-05-16 19:11 marvintm Review Assigned To => marvintm
2019-05-16 19:11 marvintm Status resolved => closed
2019-05-16 19:11 marvintm Fixed in Version => RR19Q3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker