Openbravo Issue Tracking System - Retail Modules
View Issue Details
0045536Retail ModulesLoyalty Programs for Web POSpublic2020-12-03 12:132020-12-09 06:48
migueldejuana 
migueldejuana 
normalminoralways
closedfixed 
5
 
RR21Q1 
marvintm
No
0045536: When adding a Loyalty Program, BP summary is not updated
If we add a Loyalty Program to a Business Partner, when we close popups, the BP button with the Loyalty summary should be updated.
- Login in STA-1 terminal (modules environment)
- Create a new BP
- Add new Loyalty Program Pressin in '+' in Loyalty Sunscriptions
- Select Gold Customer and press Save
- Close all popups and --> ERROR! The BP selector has not the new subscription information
NOR
Issue History
2020-12-03 12:13migueldejuanaNew Issue
2020-12-03 12:13migueldejuanaAssigned To => migueldejuana
2020-12-03 12:13migueldejuanaTriggers an Emergency Pack => No
2020-12-03 14:33hgbotResolutionopen => fixed
2020-12-03 14:33hgbotStatusnew => resolved
2020-12-03 14:33hgbotNote Added: 0124702
2020-12-03 15:21rafarodaTag Attached: NOR
2020-12-09 06:48marvintmReview Assigned To => marvintm
2020-12-09 06:48marvintmStatusresolved => closed
2020-12-09 06:48marvintmFixed in Version => RR21Q1

Notes
(0124702)
hgbot   
2020-12-03 14:33   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs [^]
Changeset: 19e38dbaa8fa321bfd6a6ed3cd06c59823569b2a
Author: Miguel de Juana <miguel.dejuana@openbravo.com>
Date: 2020-12-03T14:32:39+01:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs/-/commit/19e38dbaa8fa321bfd6a6ed3cd06c59823569b2a [^]

FIXED ISSUE-0045536: When adding a Loyalty Program, BP summary is not updated

- Force to update BP when adding a subscription. It is not automatically
triggered because we are adding a subscritpion to an array inside bp and
this doesn't launch 'change:bp' event

---
M web/org.openbravo.retail.loyalty.programs/js/view/subscription-create-form.js
---