fixes to website, item (added table for cross listing), modules_setup and form_header

This commit is contained in:
Rushabh Mehta
2012-12-25 15:09:14 +05:30
parent bea0671fc0
commit 7837d80716
20 changed files with 197 additions and 89 deletions

View 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

View 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"
}
]