diff --git a/erpnext/change_log/current/current.md b/erpnext/change_log/current/current.md new file mode 100644 index 0000000000..b6bb60bd99 --- /dev/null +++ b/erpnext/change_log/current/current.md @@ -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 diff --git a/erpnext/public/js/utils.js b/erpnext/public/js/utils.js index 3dfd7e1017..dc74a3a9c7 100644 --- a/erpnext/public/js/utils.js +++ b/erpnext/public/js/utils.js @@ -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); + }); + }); + } +});