Minor fixes

This commit is contained in:
Nabin Hait 2014-10-22 16:14:41 +05:30
parent 3daa49ac1f
commit f5b94143dc
3 changed files with 3 additions and 24 deletions

View File

@ -189,27 +189,6 @@
"print_hide": 1,
"read_only": 1
},
{
"fieldname": "shipping_address_name",
"fieldtype": "Link",
"hidden": 1,
"in_filter": 1,
"label": "Shipping Address Name",
"options": "Address",
"permlevel": 0,
"precision": "",
"print_hide": 1
},
{
"fieldname": "shipping_address",
"fieldtype": "Small Text",
"hidden": 1,
"label": "Shipping Address",
"permlevel": 0,
"precision": "",
"print_hide": 1,
"read_only": 1
},
{
"fieldname": "currency_section",
"fieldtype": "Section Break",
@ -1234,7 +1213,7 @@
"icon": "icon-file-text",
"idx": 1,
"is_submittable": 1,
"modified": "2014-10-10 16:54:22.284284",
"modified": "2014-10-22 16:54:22.284284",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Sales Invoice",

View File

@ -7,7 +7,7 @@ $.extend(cur_frm.cscript, {
this.timezone = doc.time_zone;
frappe.call({
method: "frappe.country_info.get_country_timezone_info",
method: "frappe.geo.country_info.get_country_timezone_info",
callback: function(data) {
frappe.country_info = data.message.country_info;
frappe.all_timezones = data.message.all_timezones;

View File

@ -139,7 +139,7 @@ frappe.pages['setup-wizard'].onload = function(wrapper) {
help: __('Select your home country and check the timezone and currency.'),
onload: function(slide, form) {
frappe.call({
method:"frappe.country_info.get_country_timezone_info",
method:"frappe.geo.country_info.get_country_timezone_info",
callback: function(data) {
frappe.country_info = data.message.country_info;
frappe.all_timezones = data.message.all_timezones;