mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-30 17:42:32 +02:00
fix: not able to save material request
(cherry picked from commit c5e36eb323)
This commit is contained in:
committed by
Mergify
parent
af55ce0f6c
commit
0e2bca4b34
@@ -1134,6 +1134,10 @@ class AccountsController(TransactionBase):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
def set_taxes_and_charges(self):
|
def set_taxes_and_charges(self):
|
||||||
|
if self.doctype == "Material Request":
|
||||||
|
# Material Request does not have taxes
|
||||||
|
return
|
||||||
|
|
||||||
if self.get("taxes") or self.get("is_pos"):
|
if self.get("taxes") or self.get("is_pos"):
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user