Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: delete invalid pricing rule on change of applicable_for values #43557

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

ljain112
Copy link
Contributor

@ljain112 ljain112 commented Oct 8, 2024

Issue:
On change of applicable_for_values Pricing Rules are not deleted.

Steps to replicate:

  • Create a Promotional Scheme for two Customers. (two pricing rules will be created)
  • Remove any customer from the promotional scheme.
    The pricing rule still exists for both of the customers.

image

Closes: #43456
Frappe Support: https://support.frappe.io/app/hd-ticket/22927

backport version-15-hotfix
backport version-14-hotfix

@ljain112 ljain112 changed the title fix: delete invalid pricing rule on change of applicable_for_values fix: delete invalid pricing rule on change of applicable_for values Oct 8, 2024
@ljain112 ljain112 force-pushed the fix-promo-scheme branch 2 times, most recently from 4e864a3 to 4de2262 Compare October 8, 2024 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Promotional Scheme is not updating Pricing Rule properly
1 participant