mirror of
https://github.com/frappe/books.git
synced 2024-11-14 01:14:03 +00:00
Update link in invoice.js
- Replace frappe.desk.showFormModal with new $formModal
This commit is contained in:
parent
4bc97c0d20
commit
52f8beffdc
@ -135,7 +135,7 @@ module.exports = {
|
|||||||
payment.party = form.doc.customer;
|
payment.party = form.doc.customer;
|
||||||
payment.account = form.doc.account;
|
payment.account = form.doc.account;
|
||||||
payment.for = [{ referenceType: form.doc.doctype, referenceName: form.doc.name, amount: form.doc.grandTotal }];
|
payment.for = [{ referenceType: form.doc.doctype, referenceName: form.doc.name, amount: form.doc.grandTotal }];
|
||||||
await frappe.desk.showFormModal('Payment', payment.name);
|
await form.$formModal.open(payment);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user