mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 19:29:10 +00:00
Update transaction_base.py
This commit is contained in:
@@ -47,12 +47,12 @@ class TransactionBase(StatusUpdater):
|
|||||||
"ref_type": self.doctype,
|
"ref_type": self.doctype,
|
||||||
"ref_name": self.name
|
"ref_name": self.name
|
||||||
})
|
})
|
||||||
|
|
||||||
|
event.insert(ignore_permissions=True)
|
||||||
|
|
||||||
if frappe.db.exists("User", self.contact_by):
|
if frappe.db.exists("User", self.contact_by):
|
||||||
frappe.share.add("Event", event.name, 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):
|
def validate_uom_is_integer(self, uom_field, qty_fields):
|
||||||
validate_uom_is_integer(self, uom_field, qty_fields)
|
validate_uom_is_integer(self, uom_field, qty_fields)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user