mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-12 19:35:09 +00:00
fix: use completion_date not posting date
This commit is contained in:
@@ -131,7 +131,7 @@ frappe.ui.form.on("Asset Repair", {
|
|||||||
function () {
|
function () {
|
||||||
frappe.route_options = {
|
frappe.route_options = {
|
||||||
voucher_no: frm.doc.name,
|
voucher_no: frm.doc.name,
|
||||||
from_date: frm.doc.posting_date,
|
from_date: frm.doc.completion_date,
|
||||||
to_date: moment(frm.doc.modified).format("YYYY-MM-DD"),
|
to_date: moment(frm.doc.modified).format("YYYY-MM-DD"),
|
||||||
company: frm.doc.company,
|
company: frm.doc.company,
|
||||||
categorize_by: "",
|
categorize_by: "",
|
||||||
|
|||||||
Reference in New Issue
Block a user