mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
fixes to website, item (added table for cross listing), modules_setup and form_header
This commit is contained in:
0
website/doctype/website_item_group/__init__.py
Normal file
0
website/doctype/website_item_group/__init__.py
Normal file
8
website/doctype/website_item_group/website_item_group.py
Normal file
8
website/doctype/website_item_group/website_item_group.py
Normal file
@@ -0,0 +1,8 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
from __future__ import unicode_literals
|
||||
import webnotes
|
||||
|
||||
class DocType:
|
||||
def __init__(self, d, dl):
|
||||
self.doc, self.doclist = d, dl
|
||||
36
website/doctype/website_item_group/website_item_group.txt
Normal file
36
website/doctype/website_item_group/website_item_group.txt
Normal file
@@ -0,0 +1,36 @@
|
||||
[
|
||||
{
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-12-25 13:52:11",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-12-25 13:52:11"
|
||||
},
|
||||
{
|
||||
"istable": 1,
|
||||
"description": "Cross Listing of Item in multiple groups",
|
||||
"doctype": "DocType",
|
||||
"module": "Website",
|
||||
"document_type": "Other",
|
||||
"name": "__common__"
|
||||
},
|
||||
{
|
||||
"parent": "Website Item Group",
|
||||
"doctype": "DocField",
|
||||
"name": "__common__",
|
||||
"label": "Item Group",
|
||||
"parenttype": "DocType",
|
||||
"options": "Item Group",
|
||||
"fieldname": "item_group",
|
||||
"fieldtype": "Link",
|
||||
"permlevel": 0,
|
||||
"parentfield": "fields"
|
||||
},
|
||||
{
|
||||
"name": "Website Item Group",
|
||||
"doctype": "DocType"
|
||||
},
|
||||
{
|
||||
"doctype": "DocField"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user