client creation bug fixes
This commit is contained in:
parent
cb33d0c3b3
commit
2ea20a86e3
7 changed files with 52 additions and 19 deletions
9
custom_ui/events/address.py
Normal file
9
custom_ui/events/address.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import frappe
|
||||
from custom_ui.db_utils import build_full_address
|
||||
|
||||
def after_insert(doc, method):
|
||||
print(doc.as_dict())
|
||||
if not doc.full_address:
|
||||
doc.full_address = build_full_address(doc)
|
||||
doc.save()
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue