mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 13:49:13 +00:00
Moved flags like ignore_mandatory, ignore_validate etc to doc.flags
This commit is contained in:
@@ -53,7 +53,7 @@ def save_address(fields, address_fieldname=None):
|
||||
party_fieldname: party.name,
|
||||
(party_fieldname + "_name"): party.get(party_fieldname + "_name")
|
||||
})
|
||||
doc.ignore_permissions = True
|
||||
doc.flags.ignore_permissions = True
|
||||
doc.save()
|
||||
|
||||
if address_fieldname:
|
||||
|
||||
Reference in New Issue
Block a user