Project:
View Revisions: Issue #49967 | [ Back to Issue ] | ||
Summary | 0049967: Discounts with CRM property-conditions should be updated in the discounts cache on masterdata-refresh | ||
Revision | 2022-08-08 10:03 by cberner | ||
Steps To Reproduce | 1. Install the org.openbravo.discounts.property-condition module and its dependencies: https://gitlab.com/openbravo/product/pmods/org.openbravo.discounts.propertycondition [^] 2. Setup CRM proxy: 2.1. Login backoffice and Organization window 2.2. Select Vall Blanca Store organization and activate CRM Configuration, selecting the proxy one 3. Go to Discounts window, select some discount and add a CRM Property condition in the property condition subtab, following instructions from the documentation: https://docs.google.com/document/d/1QRzn_NRYRn3kcVVR8MklxS67jDB3kPYDHI2o7CanSmk/edit [^] 4. Login WebPOS, execute masterdata refresh and check that the discount is applied to the anonymous customer (not a CRM business partner) It is fixed if we do logout/login and do some change that affects the ticket(required to recalculate prices and discounts). |
||
Revision | 2022-08-08 10:03 by cberner | ||
Description | Currently, CRM property conditions in the discounts cache are not updated when the masterdata refresh is executed, resulting in this changes not being shown until the user does logout/login or refresh. This is due to it being done in a on login action, when it should also be done as a after masterdata refresh action. | ||
Revision | 2022-08-08 09:26 by cberner | ||
Description | Currently discounts are applied when the selected user is the anonymous business partner or an Openbravo business partner. So, if there are CRM conditions to check, these are only checked when the current business partner selected for a ticket is a CRM client. This should be changed to not apply discounts that have CRM property-conditions when the selected business partner is not a CRM client. |
||
Revision | 2022-08-08 09:26 by cberner | ||
Steps To Reproduce | 1. Install the org.openbravo.discounts.property-condition module and its dependencies: https://gitlab.com/openbravo/product/pmods/org.openbravo.discounts.propertycondition [^] 2. Setup CRM proxy: 2.1. Login backoffice and Organization window 2.2. Select Vall Blanca Store organization and activate CRM Configuration, selecting the proxy one 3. Go to Discounts window, select some discount and add a CRM Property condition in the property condition subtab, following instructions from the documentation: https://docs.google.com/document/d/1QRzn_NRYRn3kcVVR8MklxS67jDB3kPYDHI2o7CanSmk/edit [^] 4. Login WebPOS, execute masterdata refresh and check that the discount is applied to the anonymous customer (not a CRM business partner) |
||
Revision | 2022-08-08 09:24 by cberner | ||
Steps To Reproduce | 1. Install the org.openbravo.discounts.property-condition module and its dependencies 2. Setup CRM proxy: 2.1. Login backoffice and Organization window 2.2. Select Vall Blanca Store organization and activate CRM Configuration, selecting the proxy one 3. Go to Discounts window, select some discount and add a CRM Property condition in the property condition subtab, following instructions from the documentation: https://docs.google.com/document/d/1QRzn_NRYRn3kcVVR8MklxS67jDB3kPYDHI2o7CanSmk/edit [^] 4. Login WebPOS, execute masterdata refresh and check that the discount is applied to the anonymous customer (not a CRM business partner) |
Copyright © 2000 - 2009 MantisBT Group |