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(pos): pricing rule on transactions doesn't work #29597

Merged
merged 1 commit into from
Feb 2, 2022

Conversation

nextchamp-saqib
Copy link
Member

While making a POS Invoice using POS UI, the invoice is not saved at any point. It is directly submitted with the "Submit Order" button.

This causes problems such as:

  • Pricing Rule with Apply On set as Transaction doesn't get applied from POS UI since the invoice is never saved.
    Such pricing rules are only applied when the invoice is saved. This behavior is the same across transactions.
    For eg., if there is a pricing rule such that, a 10% discount is to be applied for a specific set of customers and if you try
    to create a POS Invoice for one such customer, the discount will only be applied unless you click "Submit Order" at
    Payment Page

Other similar issues have been fixed with this PR. Now, when a user clicks on "Checkout" before moving to the payment page, the invoice is first saved to set all the missing details

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant