In the Pricing Rule Doctype, the applied_on field has options: Item Group, Brand, Item Code and Transactions. These options appear to be mutually exclusive.
For example, I want to set a pricing rule that applies to:
Item Group A Brand B
This would mean the rule applies only to items that belong to “Item Group A” and are of “Brand B”.
Currently, I am unable to set this combination because the applied_on field restricts me to select only one option at a time.
Is there a way to achieve this combination?
If not, what would be the best approach to handle such a scenario?
Pricing rule needs a complete rewrite. Frappe Devs have nearly abandoned further development of ERPNext’s functionality and are relying on the community to carry the torch.
This can be confirmed by the numerous unanswered forum posts and ignored bug reports.
With that said, only basic pricing rules are reliably functional. You’ll need a customization or the ability separate your rules.
Hey, have you found any solution? I’ve been trying to do it with dynamic conditions, but every condition I’ve tried results in a false return. For example, ‘brand == ‘BrandName’’ doesn’t work.
Got the same feeling. And I’m not liking much where v16 is going, so I guess I’m staying on v15 forever.
I think the community really gotta start getting together, having a solid telegram group or something.
Help each other’s out relentlessly to keep this thing going forward.