[minor] set timezone in posting time and added help
This commit is contained in:
parent
86e479f908
commit
95b995be6d
7
erpnext/change_log/current/current.md
Normal file
7
erpnext/change_log/current/current.md
Normal 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
|
@ -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);
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user