[minor] set timezone in posting time and added help

This commit is contained in:
Rushabh Mehta 2015-05-28 12:10:55 +05:30
parent 86e479f908
commit 95b995be6d
2 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,7 @@
- Watch help videos in new module "Learn"
- Letter head and Terms removed from Purchase Invoice
- Renaming Discount fields to "Discount on Price List Rate"
- Backup manager: You you can choose which backup to download
- "Reserved Warehouse" is renamed "Delivery Warehouse" in Sales Order
- Timezone fixes: See all time-stamps in Events etc in your timezone, if you are not in the system timezone.
- Fixes to POS

View File

@ -132,4 +132,17 @@ $.extend(erpnext.utils, {
);
}
}
})
});
// add description on posting time
$(document).on('app_ready', function() {
if(!frappe.datetime.is_timezone_same()) {
$.each(["Stock Reconciliation", "Stock Entry", "Stock Ledger Entry",
"Delivery Note", "Purchase Receipt", "Sales Invoice"], function(i, d) {
frappe.ui.form.on(d, "onload", function(frm) {
cur_frm.set_df_property("posting_time", "description",
sys_defaults.time_zone);
});
});
}
});