fix: Reapply pricing rule on qty change
(cherry picked from commit b741ae143c)
This commit is contained in:
@@ -197,7 +197,7 @@ class AccountsController(TransactionBase):
|
||||
|
||||
validate_einvoice_fields(self)
|
||||
|
||||
if self.doctype != "Material Request":
|
||||
if self.doctype != "Material Request" and not self.ignore_pricing_rule:
|
||||
apply_pricing_rule_on_transaction(self)
|
||||
|
||||
def before_cancel(self):
|
||||
|
||||
Reference in New Issue
Block a user