Why Does Price Rule Apply to All Items?

I am trying to create a pricing rule that would apply to only one item and give a particular customer group a different price. I created a price rule for the item “Test Item” and set a custom price. This seems to work great in the POS, except that it also applies for any other product. How can I make the pricing rule only apply to “Test Item”? See the screenshots of my current config.

Might be you will have one more pricing rule which is based on Item group and i think you have given same price for that Rule .Check Once.

Because when i checked its work properly…As per your scenario.


Thanks for reporting, @rohit_w is already working on the following issue.
Please check the [fix] Pricing rule for pos by rohitwaghchaure · Pull Request #8471 · frappe/erpnext · GitHub


Thanks for the quick response. I applied the patch from the linked commit and it resolved the issue.