Merge https://github.com/frappe/erpnext into item_group
This commit is contained in:
commit
d676491b6e
@ -1,182 +1,181 @@
|
|||||||
{
|
{
|
||||||
"allow_attach": 1,
|
"autoname": "naming_series:",
|
||||||
"autoname": "naming_series:",
|
"creation": "2013-03-07 11:55:06",
|
||||||
"creation": "2013-03-07 11:55:06",
|
"docstatus": 0,
|
||||||
"docstatus": 0,
|
"doctype": "DocType",
|
||||||
"doctype": "DocType",
|
|
||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
"fieldname": "column_break0",
|
"fieldname": "column_break0",
|
||||||
"fieldtype": "Column Break",
|
"fieldtype": "Column Break",
|
||||||
"permlevel": 0,
|
"permlevel": 0,
|
||||||
"print_width": "50%",
|
"print_width": "50%",
|
||||||
"read_only": 0,
|
"read_only": 0,
|
||||||
"width": "50%"
|
"width": "50%"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "naming_series",
|
"fieldname": "naming_series",
|
||||||
"fieldtype": "Select",
|
"fieldtype": "Select",
|
||||||
"label": "Series",
|
"label": "Series",
|
||||||
"options": "C-FORM-",
|
"options": "C-FORM-",
|
||||||
"permlevel": 0,
|
"permlevel": 0,
|
||||||
"read_only": 0,
|
"read_only": 0,
|
||||||
"reqd": 1
|
"reqd": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "c_form_no",
|
"fieldname": "c_form_no",
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Data",
|
||||||
"in_list_view": 1,
|
"in_list_view": 1,
|
||||||
"label": "C-Form No",
|
"label": "C-Form No",
|
||||||
"permlevel": 0,
|
"permlevel": 0,
|
||||||
"read_only": 0,
|
"read_only": 0,
|
||||||
"reqd": 1
|
"reqd": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "received_date",
|
"fieldname": "received_date",
|
||||||
"fieldtype": "Date",
|
"fieldtype": "Date",
|
||||||
"in_list_view": 1,
|
"in_list_view": 1,
|
||||||
"label": "Received Date",
|
"label": "Received Date",
|
||||||
"permlevel": 0,
|
"permlevel": 0,
|
||||||
"read_only": 0,
|
"read_only": 0,
|
||||||
"reqd": 1
|
"reqd": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "customer",
|
"fieldname": "customer",
|
||||||
"fieldtype": "Link",
|
"fieldtype": "Link",
|
||||||
"in_list_view": 1,
|
"in_list_view": 1,
|
||||||
"label": "Customer",
|
"label": "Customer",
|
||||||
"options": "Customer",
|
"options": "Customer",
|
||||||
"permlevel": 0,
|
"permlevel": 0,
|
||||||
"read_only": 0,
|
"read_only": 0,
|
||||||
"reqd": 1
|
"reqd": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "column_break1",
|
"fieldname": "column_break1",
|
||||||
"fieldtype": "Column Break",
|
"fieldtype": "Column Break",
|
||||||
"permlevel": 0,
|
"permlevel": 0,
|
||||||
"print_width": "50%",
|
"print_width": "50%",
|
||||||
"read_only": 0,
|
"read_only": 0,
|
||||||
"width": "50%"
|
"width": "50%"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "company",
|
"fieldname": "company",
|
||||||
"fieldtype": "Link",
|
"fieldtype": "Link",
|
||||||
"label": "Company",
|
"label": "Company",
|
||||||
"options": "Company",
|
"options": "Company",
|
||||||
"permlevel": 0,
|
"permlevel": 0,
|
||||||
"read_only": 0
|
"read_only": 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "fiscal_year",
|
"fieldname": "fiscal_year",
|
||||||
"fieldtype": "Link",
|
"fieldtype": "Link",
|
||||||
"label": "Fiscal Year",
|
"label": "Fiscal Year",
|
||||||
"options": "Fiscal Year",
|
"options": "Fiscal Year",
|
||||||
"permlevel": 0,
|
"permlevel": 0,
|
||||||
"read_only": 0,
|
"read_only": 0,
|
||||||
"reqd": 1
|
"reqd": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "quarter",
|
"fieldname": "quarter",
|
||||||
"fieldtype": "Select",
|
"fieldtype": "Select",
|
||||||
"label": "Quarter",
|
"label": "Quarter",
|
||||||
"options": "\nI\nII\nIII\nIV",
|
"options": "\nI\nII\nIII\nIV",
|
||||||
"permlevel": 0,
|
"permlevel": 0,
|
||||||
"read_only": 0
|
"read_only": 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "total_amount",
|
"fieldname": "total_amount",
|
||||||
"fieldtype": "Currency",
|
"fieldtype": "Currency",
|
||||||
"label": "Total Amount",
|
"label": "Total Amount",
|
||||||
"options": "Company:company:default_currency",
|
"options": "Company:company:default_currency",
|
||||||
"permlevel": 0,
|
"permlevel": 0,
|
||||||
"read_only": 0,
|
"read_only": 0,
|
||||||
"reqd": 1
|
"reqd": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "state",
|
"fieldname": "state",
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Data",
|
||||||
"label": "State",
|
"label": "State",
|
||||||
"permlevel": 0,
|
"permlevel": 0,
|
||||||
"read_only": 0,
|
"read_only": 0,
|
||||||
"reqd": 1
|
"reqd": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "section_break0",
|
"fieldname": "section_break0",
|
||||||
"fieldtype": "Section Break",
|
"fieldtype": "Section Break",
|
||||||
"permlevel": 0,
|
"permlevel": 0,
|
||||||
"read_only": 0
|
"read_only": 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "invoice_details",
|
"fieldname": "invoice_details",
|
||||||
"fieldtype": "Table",
|
"fieldtype": "Table",
|
||||||
"label": "Invoice Details",
|
"label": "Invoice Details",
|
||||||
"options": "C-Form Invoice Detail",
|
"options": "C-Form Invoice Detail",
|
||||||
"permlevel": 0,
|
"permlevel": 0,
|
||||||
"read_only": 0
|
"read_only": 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "total_invoiced_amount",
|
"fieldname": "total_invoiced_amount",
|
||||||
"fieldtype": "Currency",
|
"fieldtype": "Currency",
|
||||||
"label": "Total Invoiced Amount",
|
"label": "Total Invoiced Amount",
|
||||||
"options": "Company:company:default_currency",
|
"options": "Company:company:default_currency",
|
||||||
"permlevel": 0,
|
"permlevel": 0,
|
||||||
"print_hide": 0,
|
"print_hide": 0,
|
||||||
"read_only": 1
|
"read_only": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "amended_from",
|
"fieldname": "amended_from",
|
||||||
"fieldtype": "Link",
|
"fieldtype": "Link",
|
||||||
"ignore_user_permissions": 1,
|
"ignore_user_permissions": 1,
|
||||||
"label": "Amended From",
|
"label": "Amended From",
|
||||||
"no_copy": 1,
|
"no_copy": 1,
|
||||||
"options": "C-Form",
|
"options": "C-Form",
|
||||||
"permlevel": 0,
|
"permlevel": 0,
|
||||||
"print_hide": 1,
|
"print_hide": 1,
|
||||||
"read_only": 1
|
"read_only": 1
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"icon": "icon-file-text",
|
"icon": "icon-file-text",
|
||||||
"idx": 1,
|
"idx": 1,
|
||||||
"is_submittable": 1,
|
"is_submittable": 1,
|
||||||
"max_attachments": 3,
|
"max_attachments": 3,
|
||||||
"modified": "2014-05-27 03:49:08.272135",
|
"modified": "2014-05-27 03:49:08.272135",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Accounts",
|
"module": "Accounts",
|
||||||
"name": "C-Form",
|
"name": "C-Form",
|
||||||
"owner": "Administrator",
|
"owner": "Administrator",
|
||||||
"permissions": [
|
"permissions": [
|
||||||
{
|
{
|
||||||
"apply_user_permissions": 1,
|
"apply_user_permissions": 1,
|
||||||
"create": 1,
|
"create": 1,
|
||||||
"email": 1,
|
"email": 1,
|
||||||
"permlevel": 0,
|
"permlevel": 0,
|
||||||
"print": 1,
|
"print": 1,
|
||||||
"read": 1,
|
"read": 1,
|
||||||
"report": 1,
|
"report": 1,
|
||||||
"role": "Accounts User",
|
"role": "Accounts User",
|
||||||
"submit": 0,
|
"submit": 0,
|
||||||
"write": 1
|
"write": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"create": 1,
|
"create": 1,
|
||||||
"email": 1,
|
"email": 1,
|
||||||
"permlevel": 0,
|
"permlevel": 0,
|
||||||
"print": 1,
|
"print": 1,
|
||||||
"read": 1,
|
"read": 1,
|
||||||
"report": 1,
|
"report": 1,
|
||||||
"role": "Accounts Manager",
|
"role": "Accounts Manager",
|
||||||
"submit": 0,
|
"submit": 0,
|
||||||
"write": 1
|
"write": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"amend": 0,
|
"amend": 0,
|
||||||
"cancel": 0,
|
"cancel": 0,
|
||||||
"create": 0,
|
"create": 0,
|
||||||
"permlevel": 1,
|
"permlevel": 1,
|
||||||
"read": 1,
|
"read": 1,
|
||||||
"report": 1,
|
"report": 1,
|
||||||
"role": "All",
|
"role": "All",
|
||||||
"submit": 0
|
"submit": 0
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"allow_attach": 1,
|
"allow_import": 1,
|
||||||
"allow_import": 1,
|
|
||||||
"autoname": "naming_series:",
|
"autoname": "naming_series:",
|
||||||
"creation": "2013-05-24 19:29:05",
|
"creation": "2013-05-24 19:29:05",
|
||||||
"default_print_format": "Standard",
|
"default_print_format": "Standard",
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"allow_attach": 1,
|
"allow_import": 1,
|
||||||
"allow_import": 1,
|
|
||||||
"autoname": "naming_series:",
|
"autoname": "naming_series:",
|
||||||
"creation": "2013-05-21 16:16:39",
|
"creation": "2013-05-21 16:16:39",
|
||||||
"docstatus": 0,
|
"docstatus": 0,
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"allow_attach": 1,
|
"allow_import": 1,
|
||||||
"allow_import": 1,
|
|
||||||
"autoname": "naming_series:",
|
"autoname": "naming_series:",
|
||||||
"creation": "2013-05-21 16:16:45",
|
"creation": "2013-05-21 16:16:45",
|
||||||
"docstatus": 0,
|
"docstatus": 0,
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"allow_attach": 1,
|
"allow_import": 1,
|
||||||
"allow_import": 1,
|
|
||||||
"allow_rename": 1,
|
"allow_rename": 1,
|
||||||
"autoname": "naming_series:",
|
"autoname": "naming_series:",
|
||||||
"creation": "2013-03-07 09:04:18",
|
"creation": "2013-03-07 09:04:18",
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"allow_attach": 1,
|
"autoname": "field:applicant_name",
|
||||||
"autoname": "field:applicant_name",
|
|
||||||
"creation": "2013-01-29 19:25:37",
|
"creation": "2013-01-29 19:25:37",
|
||||||
"description": "Applicant for a Job",
|
"description": "Applicant for a Job",
|
||||||
"docstatus": 0,
|
"docstatus": 0,
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"allow_attach": 1,
|
"autoname": "LAP/.#####",
|
||||||
"autoname": "LAP/.#####",
|
|
||||||
"creation": "2013-02-20 11:18:11",
|
"creation": "2013-02-20 11:18:11",
|
||||||
"description": "Apply / Approve Leaves",
|
"description": "Apply / Approve Leaves",
|
||||||
"docstatus": 0,
|
"docstatus": 0,
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"allow_attach": 0,
|
"creation": "2013-01-25 11:34:53.000000",
|
||||||
"creation": "2013-01-25 11:34:53.000000",
|
|
||||||
"docstatus": 0,
|
"docstatus": 0,
|
||||||
"doctype": "DocType",
|
"doctype": "DocType",
|
||||||
"fields": [
|
"fields": [
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"allow_attach": 0,
|
"allow_copy": 0,
|
||||||
"allow_copy": 0,
|
|
||||||
"allow_import": 1,
|
"allow_import": 1,
|
||||||
"allow_rename": 0,
|
"allow_rename": 0,
|
||||||
"creation": "2013-01-22 15:11:38",
|
"creation": "2013-01-22 15:11:38",
|
||||||
|
@ -77,3 +77,4 @@ erpnext.patches.v4_2.fix_account_master_type
|
|||||||
erpnext.patches.v4_2.update_project_milestones
|
erpnext.patches.v4_2.update_project_milestones
|
||||||
erpnext.patches.v4_2.add_currency_turkish_lira #2014-08-08
|
erpnext.patches.v4_2.add_currency_turkish_lira #2014-08-08
|
||||||
execute:frappe.delete_doc("DocType", "Landed Cost Wizard")
|
execute:frappe.delete_doc("DocType", "Landed Cost Wizard")
|
||||||
|
erpnext.patches.v4_2.default_website_style
|
||||||
|
9
erpnext/patches/v4_2/default_website_style.py
Normal file
9
erpnext/patches/v4_2/default_website_style.py
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
import frappe
|
||||||
|
from frappe.templates.pages.style_settings import default_properties
|
||||||
|
|
||||||
|
def execute():
|
||||||
|
style_settings = frappe.get_doc("Style Settings", "Style Settings")
|
||||||
|
if not style_settings.apply_style:
|
||||||
|
style_settings.update(default_properties)
|
||||||
|
style_settings.apply_style = 1
|
||||||
|
style_settings.save()
|
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"allow_attach": 1,
|
"allow_import": 1,
|
||||||
"allow_import": 1,
|
|
||||||
"allow_rename": 1,
|
"allow_rename": 1,
|
||||||
"autoname": "field:project_name",
|
"autoname": "field:project_name",
|
||||||
"creation": "2013-03-07 11:55:07",
|
"creation": "2013-03-07 11:55:07",
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"allow_attach": 1,
|
"allow_import": 1,
|
||||||
"allow_import": 1,
|
|
||||||
"autoname": "TASK.#####",
|
"autoname": "TASK.#####",
|
||||||
"creation": "2013-01-29 19:25:50",
|
"creation": "2013-01-29 19:25:50",
|
||||||
"docstatus": 0,
|
"docstatus": 0,
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"allow_attach": 1,
|
"allow_import": 1,
|
||||||
"allow_import": 1,
|
|
||||||
"autoname": "naming_series:",
|
"autoname": "naming_series:",
|
||||||
"creation": "2013-04-03 16:38:41",
|
"creation": "2013-04-03 16:38:41",
|
||||||
"description": "Log of Activities performed by users against Tasks that can be used for tracking time, billing.",
|
"description": "Log of Activities performed by users against Tasks that can be used for tracking time, billing.",
|
||||||
|
@ -15,4 +15,6 @@ $(document).bind('toolbar_setup', function() {
|
|||||||
"text-overflow": "ellipsis",
|
"text-overflow": "ellipsis",
|
||||||
"white-space": "nowrap"
|
"white-space": "nowrap"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$('[data-link="docs"]').attr("href", "https://erpnext.com/user-guide")
|
||||||
});
|
});
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"allow_attach": 1,
|
"allow_import": 1,
|
||||||
"allow_import": 1,
|
|
||||||
"autoname": "naming_series:",
|
"autoname": "naming_series:",
|
||||||
"creation": "2013-05-24 19:29:08",
|
"creation": "2013-05-24 19:29:08",
|
||||||
"docstatus": 0,
|
"docstatus": 0,
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"allow_attach": 1,
|
"allow_import": 1,
|
||||||
"allow_import": 1,
|
|
||||||
"autoname": "naming_series:",
|
"autoname": "naming_series:",
|
||||||
"creation": "2013-06-18 12:39:59",
|
"creation": "2013-06-18 12:39:59",
|
||||||
"docstatus": 0,
|
"docstatus": 0,
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"allow_attach": 0,
|
"allow_copy": 1,
|
||||||
"allow_copy": 1,
|
|
||||||
"creation": "2013-01-10 16:34:22",
|
"creation": "2013-01-10 16:34:22",
|
||||||
"docstatus": 0,
|
"docstatus": 0,
|
||||||
"doctype": "DocType",
|
"doctype": "DocType",
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"allow_attach": 1,
|
"allow_import": 1,
|
||||||
"allow_import": 1,
|
|
||||||
"allow_rename": 1,
|
"allow_rename": 1,
|
||||||
"autoname": "field:item_group_name",
|
"autoname": "field:item_group_name",
|
||||||
"creation": "2013-03-28 10:35:29",
|
"creation": "2013-03-28 10:35:29",
|
||||||
|
@ -6,6 +6,7 @@ import frappe
|
|||||||
|
|
||||||
from frappe import _
|
from frappe import _
|
||||||
from frappe.utils import nowdate
|
from frappe.utils import nowdate
|
||||||
|
from frappe.templates.pages.style_settings import default_properties
|
||||||
|
|
||||||
class website_maker(object):
|
class website_maker(object):
|
||||||
def __init__(self, company, tagline, user):
|
def __init__(self, company, tagline, user):
|
||||||
@ -35,8 +36,8 @@ class website_maker(object):
|
|||||||
|
|
||||||
def make_style_settings(self):
|
def make_style_settings(self):
|
||||||
style_settings = frappe.get_doc("Style Settings", "Style Settings")
|
style_settings = frappe.get_doc("Style Settings", "Style Settings")
|
||||||
style_settings.top_bar_background = "F2F2F2"
|
style_settings.update(default_properties)
|
||||||
style_settings.font_size = "15px"
|
style_settings.apply_style = 1
|
||||||
style_settings.save()
|
style_settings.save()
|
||||||
|
|
||||||
def make_website_settings(self):
|
def make_website_settings(self):
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.slide {
|
.slide {
|
||||||
padding: 60px 40px;
|
padding: 30px 40px;
|
||||||
max-width: 800px;
|
max-width: 800px;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"allow_attach": 1,
|
"allow_import": 1,
|
||||||
"allow_import": 1,
|
|
||||||
"autoname": "field:batch_id",
|
"autoname": "field:batch_id",
|
||||||
"creation": "2013-03-05 14:50:38.000000",
|
"creation": "2013-03-05 14:50:38.000000",
|
||||||
"docstatus": 0,
|
"docstatus": 0,
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"allow_attach": 1,
|
"autoname": "naming_series:",
|
||||||
"autoname": "naming_series:",
|
|
||||||
"creation": "2013-05-24 19:29:09",
|
"creation": "2013-05-24 19:29:09",
|
||||||
"docstatus": 0,
|
"docstatus": 0,
|
||||||
"doctype": "DocType",
|
"doctype": "DocType",
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"allow_attach": 1,
|
"allow_import": 1,
|
||||||
"allow_import": 1,
|
|
||||||
"allow_rename": 1,
|
"allow_rename": 1,
|
||||||
"autoname": "field:item_code",
|
"autoname": "field:item_code",
|
||||||
"creation": "2013-05-03 10:45:46",
|
"creation": "2013-05-03 10:45:46",
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"allow_attach": 1,
|
"allow_import": 1,
|
||||||
"allow_import": 1,
|
|
||||||
"autoname": "naming_series:",
|
"autoname": "naming_series:",
|
||||||
"creation": "2013-03-07 14:48:38",
|
"creation": "2013-03-07 14:48:38",
|
||||||
"docstatus": 0,
|
"docstatus": 0,
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"allow_attach": 0,
|
"allow_copy": 0,
|
||||||
"allow_copy": 0,
|
|
||||||
"allow_email": 1,
|
"allow_email": 1,
|
||||||
"allow_import": 1,
|
"allow_import": 1,
|
||||||
"allow_print": 1,
|
"allow_print": 1,
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"allow_attach": 1,
|
"autoname": "naming_series:",
|
||||||
"autoname": "naming_series:",
|
|
||||||
"creation": "2013-05-21 16:16:39",
|
"creation": "2013-05-21 16:16:39",
|
||||||
"docstatus": 0,
|
"docstatus": 0,
|
||||||
"doctype": "DocType",
|
"doctype": "DocType",
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"allow_attach": 1,
|
"allow_import": 1,
|
||||||
"allow_import": 1,
|
|
||||||
"allow_rename": 1,
|
"allow_rename": 1,
|
||||||
"autoname": "field:serial_no",
|
"autoname": "field:serial_no",
|
||||||
"creation": "2013-05-16 10:59:15",
|
"creation": "2013-05-16 10:59:15",
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"allow_attach": 0,
|
"allow_copy": 0,
|
||||||
"allow_copy": 0,
|
|
||||||
"allow_import": 1,
|
"allow_import": 1,
|
||||||
"allow_rename": 0,
|
"allow_rename": 0,
|
||||||
"autoname": "naming_series:",
|
"autoname": "naming_series:",
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"allow_attach": 0,
|
"allow_copy": 1,
|
||||||
"allow_copy": 1,
|
|
||||||
"autoname": "SR/.######",
|
"autoname": "SR/.######",
|
||||||
"creation": "2013-03-28 10:35:31",
|
"creation": "2013-03-28 10:35:31",
|
||||||
"description": "This tool helps you to update or fix the quantity and valuation of stock in the system. It is typically used to synchronise the system values and what actually exists in your warehouses.",
|
"description": "This tool helps you to update or fix the quantity and valuation of stock in the system. It is typically used to synchronise the system values and what actually exists in your warehouses.",
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"allow_attach": 1,
|
"autoname": "naming_series:",
|
||||||
"autoname": "naming_series:",
|
|
||||||
"creation": "2013-02-01 10:36:25",
|
"creation": "2013-02-01 10:36:25",
|
||||||
"docstatus": 0,
|
"docstatus": 0,
|
||||||
"doctype": "DocType",
|
"doctype": "DocType",
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
frappe.listview_settings['Address'] = {
|
|
||||||
set_title_left: function() {
|
|
||||||
frappe.set_route("Module", "Selling");
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,5 +0,0 @@
|
|||||||
frappe.listview_settings['Address'] = {
|
|
||||||
set_title_left: function() {
|
|
||||||
frappe.set_route("Module", "Selling");
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,6 +1,3 @@
|
|||||||
frappe.listview_settings['Note'] = {
|
frappe.listview_settings['Note'] = {
|
||||||
add_fields: ["title", "public"],
|
add_fields: ["title", "public"],
|
||||||
set_title_left: function() {
|
|
||||||
frappe.set_route();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"allow_attach": 0,
|
"allow_email": 1,
|
||||||
"allow_email": 1,
|
|
||||||
"allow_print": 1,
|
"allow_print": 1,
|
||||||
"creation": "2012-12-03 10:25:59.000000",
|
"creation": "2012-12-03 10:25:59.000000",
|
||||||
"docstatus": 0,
|
"docstatus": 0,
|
||||||
|
@ -77,7 +77,7 @@ def get_reserved_qty(item_code, warehouse):
|
|||||||
(select qty as dnpi_qty, qty as so_item_qty,
|
(select qty as dnpi_qty, qty as so_item_qty,
|
||||||
ifnull(delivered_qty, 0) as so_item_delivered_qty, parent, name
|
ifnull(delivered_qty, 0) as so_item_delivered_qty, parent, name
|
||||||
from `tabSales Order Item` so_item
|
from `tabSales Order Item` so_item
|
||||||
where item_code = %s and reserved_warehouse = %s
|
where item_code = %s and warehouse = %s
|
||||||
and exists(select * from `tabSales Order` so
|
and exists(select * from `tabSales Order` so
|
||||||
where so.name = so_item.parent and so.docstatus = 1
|
where so.name = so_item.parent and so.docstatus = 1
|
||||||
and so.status != 'Stopped'))
|
and so.status != 'Stopped'))
|
||||||
@ -208,4 +208,4 @@ def reset_serial_no_status_and_warehouse(serial_nos=None):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
frappe.db.sql("""update `tabSerial No` set warehouse='' where status in ('Delivered', 'Purchase Returned')""")
|
frappe.db.sql("""update `tabSerial No` set warehouse='' where status in ('Delivered', 'Purchase Returned')""")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user