mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 10:11:20 +00:00
[fix] [minor] [website]
This commit is contained in:
1
setup/doctype/website_item_group/README.md
Normal file
1
setup/doctype/website_item_group/README.md
Normal file
@@ -0,0 +1 @@
|
||||
Alternate grouping of parent Item (for website, so an Item can be listed under multiple groups).
|
||||
0
setup/doctype/website_item_group/__init__.py
Normal file
0
setup/doctype/website_item_group/__init__.py
Normal file
11
setup/doctype/website_item_group/website_item_group.py
Normal file
11
setup/doctype/website_item_group/website_item_group.py
Normal file
@@ -0,0 +1,11 @@
|
||||
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd.
|
||||
# MIT License. See license.txt
|
||||
|
||||
# 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
|
||||
37
setup/doctype/website_item_group/website_item_group.txt
Normal file
37
setup/doctype/website_item_group/website_item_group.txt
Normal file
@@ -0,0 +1,37 @@
|
||||
[
|
||||
{
|
||||
"creation": "2013-02-22 01:28:09",
|
||||
"docstatus": 0,
|
||||
"modified": "2013-07-10 14:54:30",
|
||||
"modified_by": "Administrator",
|
||||
"owner": "Administrator"
|
||||
},
|
||||
{
|
||||
"description": "Cross Listing of Item in multiple groups",
|
||||
"doctype": "DocType",
|
||||
"document_type": "Other",
|
||||
"istable": 1,
|
||||
"module": "Setup",
|
||||
"name": "__common__"
|
||||
},
|
||||
{
|
||||
"doctype": "DocField",
|
||||
"fieldname": "item_group",
|
||||
"fieldtype": "Link",
|
||||
"in_list_view": 1,
|
||||
"label": "Item Group",
|
||||
"name": "__common__",
|
||||
"options": "Item Group",
|
||||
"parent": "Website Item Group",
|
||||
"parentfield": "fields",
|
||||
"parenttype": "DocType",
|
||||
"permlevel": 0
|
||||
},
|
||||
{
|
||||
"doctype": "DocType",
|
||||
"name": "Website Item Group"
|
||||
},
|
||||
{
|
||||
"doctype": "DocField"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user