Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: the project document timed out while opening (backport #45767) #45775

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions erpnext/accounts/doctype/sales_invoice/sales_invoice.json
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,8 @@
"oldfieldname": "project_name",
"oldfieldtype": "Link",
"options": "Project",
"print_hide": 1
"print_hide": 1,
"search_index": 1
},
{
"default": "0",
Expand Down Expand Up @@ -2186,7 +2187,7 @@
"link_fieldname": "consolidated_invoice"
}
],
"modified": "2025-01-14 11:38:30.446370",
"modified": "2025-02-06 15:59:54.636202",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Sales Invoice",
Expand Down
2 changes: 0 additions & 2 deletions erpnext/projects/doctype/project/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ def onload(self):
),
)

self.update_costing()

def before_print(self, settings=None):
self.onload()

Expand Down
7 changes: 4 additions & 3 deletions erpnext/selling/doctype/sales_order/sales_order.json
Original file line number Diff line number Diff line change
Expand Up @@ -1151,7 +1151,8 @@
"label": "Project",
"oldfieldname": "project",
"oldfieldtype": "Link",
"options": "Project"
"options": "Project",
"search_index": 1
},
{
"fieldname": "party_account_currency",
Expand Down Expand Up @@ -1654,7 +1655,7 @@
"idx": 105,
"is_submittable": 1,
"links": [],
"modified": "2024-11-26 12:42:06.872527",
"modified": "2025-02-06 16:02:20.320877",
"modified_by": "Administrator",
"module": "Selling",
"name": "Sales Order",
Expand Down Expand Up @@ -1732,4 +1733,4 @@
"title_field": "customer_name",
"track_changes": 1,
"track_seen": 1
}
}
Loading