Bugfix for tasks not having customer field.

This commit is contained in:
rocketdebris 2026-01-23 18:49:12 -05:00
parent 44c15961c7
commit 08c31a2e3f

View file

@ -18,7 +18,4 @@ def after_insert(doc, method):
AddressService.append_link_v2(
doc.custom_property, "links", {"link_doctype": "Task", "link_name": doc.name}
)
ClientService.append_link_v2(
doc.customer, "tasks", {"task": doc.name, "project_template": doc.project_template }
)