Sales Invoice is blank after update to v13.22.1

The sales invoice is blank when opened. This issue is after updating to v13.22.1
The browser console shows these logs

Unable to handle success response {docs: Array(1), docinfo: {…}}docinfo: {attachments: Array(0), attachment_logs: Array(0), communications: Array(0), automated_messages: Array(0), comments: Array(0), …}additional_timeline_content: []assignment_logs: []assignments: []attachment_logs: []attachments: []automated_messages: []comments: []communications: []document_email: nullenergy_point_logs: []info_logs: []is_document_followed: nulllike_logs: []milestones: []permissions: {select: 1, read: 1, write: 1, create: 1, delete: 1, …}share_logs: []shared: []tags: ""total_comments: 0versions: (3) [{…}, {…}, {…}]views: []workflow_logs: [][[Prototype]]: Objectdocs: [{…}]0: {name: 'SINV-22-00185', owner: '', creation: '2022-03-09 16:36:24.242297', modified: '2022-03-09 16:36:35.827690', modified_by: '', …}length: 1[[Prototype]]: Array(0)[[Prototype]]: Object
desk.min.js?ver=1646896656.0:1 TypeError: Cannot read properties of undefined (reading 'extend')
    at eval (sales_invoice__js:334:67)
    at init.setup (form.min.js?ver=1646896656.0:1:1150452)
    at frappe.ui.form.Form.setup (form.min.js?ver=1646896656.0:1:1200571)
    at frappe.ui.form.Form.refresh (form.min.js?ver=1646896656.0:1:1204543)
    at frappe.views.FormFactory.render (form.min.js?ver=1646896656.0:1:1108175)
    at form.min.js?ver=1646896656.0:1:1107853
    at Object.callback (desk.min.js?ver=1646896656.0:1:167392)
    at Object.success [as success_callback] (desk.min.js?ver=1646896656.0:1:64131)
    at 200 (desk.min.js?ver=1646896656.0:1:64436)
    at Object.<anonymous> (desk.min.js?ver=1646896656.0:1:67447)

@ankush Kindly Check. Seems to be a release bug.

but is my site it is working fine.

Thanks. Seems to be an update issue. bench build and bench migrate resolved the issue.

1 Like