Update transaction_base.py
This commit is contained in:
parent
813f0eda05
commit
7f9489e814
@ -47,12 +47,12 @@ class TransactionBase(StatusUpdater):
|
||||
"ref_type": self.doctype,
|
||||
"ref_name": self.name
|
||||
})
|
||||
|
||||
event.insert(ignore_permissions=True)
|
||||
|
||||
if frappe.db.exists("User", self.contact_by):
|
||||
frappe.share.add("Event", event.name, self.contact_by)
|
||||
|
||||
event.insert(ignore_permissions=True)
|
||||
|
||||
def validate_uom_is_integer(self, uom_field, qty_fields):
|
||||
validate_uom_is_integer(self, uom_field, qty_fields)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user