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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0044435
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Loyalty Management for Retailmajorhave not tried2020-06-20 16:102020-06-22 13:27
Reporterprakashmurugesan88View Statuspublic 
Assigned Toprakashmurugesan88 
PrioritynormalResolutionfixedFixed in VersionRR20Q3
StatusclosedFix in branchFixed in SCM revisiona0bc1b45bbbd
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

0044435: Editing customer and save creates duplicate loyalty subscription

DescriptionOn trying to edit a customer with loyalty subscription(Automatic Membership flag checked) and save, creates duplicate loyalty subscription in WEBPOS.

This is because on opening a new customer popup it sets Automatic Membership Programs to the new customer.
Therefore Automatic Membership Programs are subscribed by default on saving the new customer.

However it works similarly for edit customer popup.
But it should not.
It should skip loyalty programs already subscribed by the selected customer.
Steps To ReproduceCheck following video

https://drive.google.com/file/d/1HCmp5CdWPDcq3diU3CqMtTKJvEauPmVt/view?usp=sharing [^]
TagsNo tags attached.
Attached Filespatch file icon I44435_20Q2.patch [^] (4,124 bytes) 2020-06-22 13:27 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0120954)
hgbot (developer)
2020-06-22 12:01

Repository: erp/pmods/org.openbravo.retail.loyalty.programs
Changeset: a0bc1b45bbbdbdf75dce1882c4bbfd3d42b880c3
Author: prakash-1040 <prakash <at> qualiantech.com>
Date: Sat Jun 20 20:02:21 2020 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.loyalty.programs/rev/a0bc1b45bbbdbdf75dce1882c4bbfd3d42b880c3 [^]

Fixed BUG-44435: Editing customer and save creates duplicate loyalty
subscription

* This is because on opening a new customer popup it sets Automatic Membership
Programs to the new customer.
* Therefore Automatic Membership Programs are subscribed by default on saving
the new customer.
* However it works similarly for edit customer popup, But it should not.
* It should skip loyalty programs already subscribed by the selected customer.

* Fix - In case of edit customer, automatic loyalty programs that are not
subscribed by customer are created.

---
M web/org.openbravo.retail.loyalty.programs/js/view/customeredit-fields.js
---

- Issue History
Date Modified Username Field Change
2020-06-20 16:10 prakashmurugesan88 New Issue
2020-06-20 16:10 prakashmurugesan88 Assigned To => prakashmurugesan88
2020-06-20 16:10 prakashmurugesan88 Triggers an Emergency Pack => No
2020-06-20 16:11 prakashmurugesan88 Status new => scheduled
2020-06-22 12:01 hgbot Checkin
2020-06-22 12:02 hgbot Note Added: 0120954
2020-06-22 12:02 hgbot Status scheduled => resolved
2020-06-22 12:02 hgbot Resolution open => fixed
2020-06-22 12:02 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.loyalty.programs/rev/a0bc1b45bbbdbdf75dce1882c4bbfd3d42b880c3 [^]
2020-06-22 12:12 marvintm Review Assigned To => marvintm
2020-06-22 12:12 marvintm Status resolved => closed
2020-06-22 12:12 marvintm Fixed in Version => RR20Q3
2020-06-22 13:27 prakashmurugesan88 File Added: I44435_20Q2.patch


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker