From c382eb58d5030e3d21b8d5eefa86d32370deb510 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Tue, 11 Jun 2013 12:03:37 +0530 Subject: [PATCH] [cleanup] removed Featured Item, Website Product Category, Valuation Control --- startup/website.py | 13 +----- stock/doctype/featured_item/__init__.py | 0 stock/doctype/featured_item/featured_item.py | 22 ---------- stock/doctype/featured_item/featured_item.txt | 35 --------------- .../featured_item/locale/_messages_doc.json | 6 --- .../doctype/featured_item/locale/ar-doc.json | 6 --- .../doctype/featured_item/locale/de-doc.json | 6 --- .../doctype/featured_item/locale/es-doc.json | 6 --- .../doctype/featured_item/locale/fr-doc.json | 6 --- .../doctype/featured_item/locale/hi-doc.json | 6 --- .../doctype/featured_item/locale/hr-doc.json | 6 --- .../doctype/featured_item/locale/nl-doc.json | 6 --- .../featured_item/locale/pt-BR-doc.json | 6 --- .../doctype/featured_item/locale/pt-doc.json | 6 --- .../doctype/featured_item/locale/sr-doc.json | 6 --- .../doctype/featured_item/locale/ta-doc.json | 6 --- .../doctype/featured_item/locale/th-doc.json | 6 --- .../locale/_messages_doc.json | 4 -- .../valuation_control/locale/ar-doc.json | 4 -- .../valuation_control/locale/de-doc.json | 4 -- .../valuation_control/locale/es-doc.json | 4 -- .../valuation_control/locale/fr-doc.json | 4 -- .../valuation_control/locale/hi-doc.json | 4 -- .../valuation_control/locale/hr-doc.json | 4 -- .../valuation_control/locale/nl-doc.json | 4 -- .../valuation_control/locale/pt-BR-doc.json | 4 -- .../valuation_control/locale/pt-doc.json | 4 -- .../valuation_control/locale/sr-doc.json | 4 -- .../valuation_control/locale/ta-doc.json | 4 -- .../valuation_control/locale/th-doc.json | 4 -- .../website_product_category/__init__.py | 0 .../locale/_messages_doc.json | 7 --- .../locale/ar-doc.json | 13 ------ .../locale/de-doc.json | 7 --- .../locale/es-doc.json | 13 ------ .../locale/fr-doc.json | 13 ------ .../locale/hi-doc.json | 13 ------ .../locale/hr-doc.json | 13 ------ .../locale/nl-doc.json | 13 ------ .../locale/pt-BR-doc.json | 7 --- .../locale/pt-doc.json | 13 ------ .../locale/sr-doc.json | 13 ------ .../locale/ta-doc.json | 13 ------ .../locale/th-doc.json | 13 ------ .../website_product_category.py | 8 ---- .../website_product_category.txt | 43 ------------------- 46 files changed, 1 insertion(+), 401 deletions(-) delete mode 100644 stock/doctype/featured_item/__init__.py delete mode 100644 stock/doctype/featured_item/featured_item.py delete mode 100644 stock/doctype/featured_item/featured_item.txt delete mode 100644 stock/doctype/featured_item/locale/_messages_doc.json delete mode 100644 stock/doctype/featured_item/locale/ar-doc.json delete mode 100644 stock/doctype/featured_item/locale/de-doc.json delete mode 100644 stock/doctype/featured_item/locale/es-doc.json delete mode 100644 stock/doctype/featured_item/locale/fr-doc.json delete mode 100644 stock/doctype/featured_item/locale/hi-doc.json delete mode 100644 stock/doctype/featured_item/locale/hr-doc.json delete mode 100644 stock/doctype/featured_item/locale/nl-doc.json delete mode 100644 stock/doctype/featured_item/locale/pt-BR-doc.json delete mode 100644 stock/doctype/featured_item/locale/pt-doc.json delete mode 100644 stock/doctype/featured_item/locale/sr-doc.json delete mode 100644 stock/doctype/featured_item/locale/ta-doc.json delete mode 100644 stock/doctype/featured_item/locale/th-doc.json delete mode 100644 stock/doctype/valuation_control/locale/_messages_doc.json delete mode 100644 stock/doctype/valuation_control/locale/ar-doc.json delete mode 100644 stock/doctype/valuation_control/locale/de-doc.json delete mode 100644 stock/doctype/valuation_control/locale/es-doc.json delete mode 100644 stock/doctype/valuation_control/locale/fr-doc.json delete mode 100644 stock/doctype/valuation_control/locale/hi-doc.json delete mode 100644 stock/doctype/valuation_control/locale/hr-doc.json delete mode 100644 stock/doctype/valuation_control/locale/nl-doc.json delete mode 100644 stock/doctype/valuation_control/locale/pt-BR-doc.json delete mode 100644 stock/doctype/valuation_control/locale/pt-doc.json delete mode 100644 stock/doctype/valuation_control/locale/sr-doc.json delete mode 100644 stock/doctype/valuation_control/locale/ta-doc.json delete mode 100644 stock/doctype/valuation_control/locale/th-doc.json delete mode 100644 website/doctype/website_product_category/__init__.py delete mode 100644 website/doctype/website_product_category/locale/_messages_doc.json delete mode 100644 website/doctype/website_product_category/locale/ar-doc.json delete mode 100644 website/doctype/website_product_category/locale/de-doc.json delete mode 100644 website/doctype/website_product_category/locale/es-doc.json delete mode 100644 website/doctype/website_product_category/locale/fr-doc.json delete mode 100644 website/doctype/website_product_category/locale/hi-doc.json delete mode 100644 website/doctype/website_product_category/locale/hr-doc.json delete mode 100644 website/doctype/website_product_category/locale/nl-doc.json delete mode 100644 website/doctype/website_product_category/locale/pt-BR-doc.json delete mode 100644 website/doctype/website_product_category/locale/pt-doc.json delete mode 100644 website/doctype/website_product_category/locale/sr-doc.json delete mode 100644 website/doctype/website_product_category/locale/ta-doc.json delete mode 100644 website/doctype/website_product_category/locale/th-doc.json delete mode 100644 website/doctype/website_product_category/website_product_category.py delete mode 100644 website/doctype/website_product_category/website_product_category.txt diff --git a/startup/website.py b/startup/website.py index 5e6c3118c2..dfaba02847 100644 --- a/startup/website.py +++ b/startup/website.py @@ -34,18 +34,7 @@ def update_template_args(page_name, args): t['child_items'] = [] t['child_items'].append(d) break - - if top_items and ("products" in [d.url.split(".")[0] for d in top_items if d.url]): - # product categories - products = webnotes.conn.sql("""select t1.item_group as label, - t2.page_name as url, - ifnull(t1.indent,0) as indent - from `tabWebsite Product Category` t1, `tabItem Group` t2 - where t1.item_group = t2.name - and ifnull(t2.show_in_website,0)=1 order by t1.idx""", as_dict=1) - products_item = filter(lambda d: d.url and d.url.split(".")[0]=="products", top_items)[0] - products_item.child_items = products - + ret = webnotes._dict({ 'top_bar_items': top_items, 'footer_items': webnotes.conn.sql("""\ diff --git a/stock/doctype/featured_item/__init__.py b/stock/doctype/featured_item/__init__.py deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/stock/doctype/featured_item/featured_item.py b/stock/doctype/featured_item/featured_item.py deleted file mode 100644 index 7f48feb2eb..0000000000 --- a/stock/doctype/featured_item/featured_item.py +++ /dev/null @@ -1,22 +0,0 @@ -# ERPNext - web based ERP (http://erpnext.com) -# Copyright (C) 2012 Web Notes Technologies Pvt Ltd -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -from __future__ import unicode_literals -import webnotes - -class DocType: - def __init__(self, d, dl): - self.doc, self.doclist = d, dl \ No newline at end of file diff --git a/stock/doctype/featured_item/featured_item.txt b/stock/doctype/featured_item/featured_item.txt deleted file mode 100644 index 5c91e87cf2..0000000000 --- a/stock/doctype/featured_item/featured_item.txt +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "creation": "2013-02-22 01:28:00", - "docstatus": 0, - "modified": "2013-03-07 07:03:21", - "modified_by": "Administrator", - "owner": "Administrator" - }, - { - "description": "Featured Item in Item Group", - "doctype": "DocType", - "istable": 1, - "module": "Stock", - "name": "__common__" - }, - { - "doctype": "DocField", - "fieldname": "item", - "fieldtype": "Link", - "label": "Item", - "name": "__common__", - "options": "Item", - "parent": "Featured Item", - "parentfield": "fields", - "parenttype": "DocType", - "permlevel": 0 - }, - { - "doctype": "DocType", - "name": "Featured Item" - }, - { - "doctype": "DocField" - } -] \ No newline at end of file diff --git a/stock/doctype/featured_item/locale/_messages_doc.json b/stock/doctype/featured_item/locale/_messages_doc.json deleted file mode 100644 index 37968bd3f7..0000000000 --- a/stock/doctype/featured_item/locale/_messages_doc.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - "Item", - "Featured Item in Item Group", - "Featured Item", - "Stock" -] \ No newline at end of file diff --git a/stock/doctype/featured_item/locale/ar-doc.json b/stock/doctype/featured_item/locale/ar-doc.json deleted file mode 100644 index 2576bae2f4..0000000000 --- a/stock/doctype/featured_item/locale/ar-doc.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "Featured Item": "\u0645\u0645\u064a\u0632\u0629", - "Featured Item in Item Group": "\u0645\u0645\u064a\u0632\u0629 \u0641\u064a \u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0629 \u0627\u0644\u0633\u0644\u0639\u0629", - "Item": "\u0628\u0646\u062f", - "Stock": "\u0627\u0644\u0623\u0648\u0631\u0627\u0642 \u0627\u0644\u0645\u0627\u0644\u064a\u0629" -} \ No newline at end of file diff --git a/stock/doctype/featured_item/locale/de-doc.json b/stock/doctype/featured_item/locale/de-doc.json deleted file mode 100644 index 0ab4a0e2a3..0000000000 --- a/stock/doctype/featured_item/locale/de-doc.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "Featured Item": "Feature-Produkt", - "Featured Item in Item Group": "Feature-Produkt bei Posten Gruppe", - "Item": "Artikel", - "Stock": "Lager" -} \ No newline at end of file diff --git a/stock/doctype/featured_item/locale/es-doc.json b/stock/doctype/featured_item/locale/es-doc.json deleted file mode 100644 index b0e30744d9..0000000000 --- a/stock/doctype/featured_item/locale/es-doc.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "Featured Item": "Producto destacado", - "Featured Item in Item Group": "Producto destacado en el Grupo del art\u00edculo", - "Item": "Art\u00edculo", - "Stock": "Valores" -} \ No newline at end of file diff --git a/stock/doctype/featured_item/locale/fr-doc.json b/stock/doctype/featured_item/locale/fr-doc.json deleted file mode 100644 index b47f8f39bf..0000000000 --- a/stock/doctype/featured_item/locale/fr-doc.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "Featured Item": "Produit vedette", - "Featured Item in Item Group": "Produit vedette dans le groupe d'article", - "Item": "Article", - "Stock": "Stock" -} \ No newline at end of file diff --git a/stock/doctype/featured_item/locale/hi-doc.json b/stock/doctype/featured_item/locale/hi-doc.json deleted file mode 100644 index 2577c4271d..0000000000 --- a/stock/doctype/featured_item/locale/hi-doc.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "Featured Item": "\u0935\u093f\u0936\u0947\u0937 \u0930\u0941\u092a \u0938\u0947 \u092a\u094d\u0930\u0926\u0930\u094d\u0936\u093f\u0924 \u0906\u0907\u091f\u092e", - "Featured Item in Item Group": "\u0906\u0907\u091f\u092e \u0938\u092e\u0942\u0939 \u092e\u0947\u0902 \u091a\u093f\u0924\u094d\u0930\u093f\u0924 \u0906\u0907\u091f\u092e", - "Item": "\u092e\u0926", - "Stock": "\u0938\u094d\u091f\u0949\u0915" -} \ No newline at end of file diff --git a/stock/doctype/featured_item/locale/hr-doc.json b/stock/doctype/featured_item/locale/hr-doc.json deleted file mode 100644 index d4e50ea839..0000000000 --- a/stock/doctype/featured_item/locale/hr-doc.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "Featured Item": "Prikazan artikla", - "Featured Item in Item Group": "Prikazan artikla u to\u010dki Grupe", - "Item": "Stavka", - "Stock": "Zaliha" -} \ No newline at end of file diff --git a/stock/doctype/featured_item/locale/nl-doc.json b/stock/doctype/featured_item/locale/nl-doc.json deleted file mode 100644 index c3a5b4d776..0000000000 --- a/stock/doctype/featured_item/locale/nl-doc.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "Featured Item": "Featured Product", - "Featured Item in Item Group": "Featured Product in punt Group", - "Item": "Item", - "Stock": "Voorraad" -} \ No newline at end of file diff --git a/stock/doctype/featured_item/locale/pt-BR-doc.json b/stock/doctype/featured_item/locale/pt-BR-doc.json deleted file mode 100644 index f4f543a3b5..0000000000 --- a/stock/doctype/featured_item/locale/pt-BR-doc.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "Featured Item": "Item Destacado", - "Featured Item in Item Group": "Item destacado no Grupo de Itens", - "Item": "Item", - "Stock": "Estoque" -} \ No newline at end of file diff --git a/stock/doctype/featured_item/locale/pt-doc.json b/stock/doctype/featured_item/locale/pt-doc.json deleted file mode 100644 index 20fcc3179a..0000000000 --- a/stock/doctype/featured_item/locale/pt-doc.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "Featured Item": "Item Destacado", - "Featured Item in Item Group": "Item destacado no Grupo item", - "Item": "Item", - "Stock": "Estoque" -} \ No newline at end of file diff --git a/stock/doctype/featured_item/locale/sr-doc.json b/stock/doctype/featured_item/locale/sr-doc.json deleted file mode 100644 index 7f455c035e..0000000000 --- a/stock/doctype/featured_item/locale/sr-doc.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "Featured Item": "\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0459\u0430\u043c\u043e", - "Featured Item in Item Group": "\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0459\u0430\u043c\u043e \u0442\u0430\u0447\u043a\u0430 \u0443 \u0433\u0440\u0443\u043f\u0438 \u0430\u0440\u0442\u0438\u043a\u043b\u0430", - "Item": "\u0421\u0442\u0430\u0432\u043a\u0430", - "Stock": "\u0417\u0430\u043b\u0438\u0445\u0430" -} \ No newline at end of file diff --git a/stock/doctype/featured_item/locale/ta-doc.json b/stock/doctype/featured_item/locale/ta-doc.json deleted file mode 100644 index bb9be70370..0000000000 --- a/stock/doctype/featured_item/locale/ta-doc.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "Featured Item": "\u0b87\u0b9f\u0bae\u0bcd\u0baa\u0bc6\u0bb1\u0bcd\u0bb1\u0bbf\u0bb0\u0bc1\u0ba8\u0bcd\u0ba4\u0ba4\u0bc1 \u0baa\u0bc6\u0bbe\u0bb0\u0bc1\u0bb3\u0bcd", - "Featured Item in Item Group": "\u0baa\u0bc6\u0bbe\u0bb0\u0bc1\u0bb3\u0bcd \u0baa\u0bbf\u0bb0\u0bbf\u0bb5\u0bc1 \u0b87\u0b9f\u0bae\u0bcd\u0baa\u0bc6\u0bb1\u0bcd\u0bb1\u0ba4\u0bc1 \u0baa\u0bc6\u0bbe\u0bb0\u0bc1\u0bb3\u0bcd", - "Item": "\u0b89\u0bb0\u0bc1\u0baa\u0bcd\u0baa\u0b9f\u0bbf", - "Stock": "\u0baa\u0b99\u0bcd\u0b95\u0bc1" -} \ No newline at end of file diff --git a/stock/doctype/featured_item/locale/th-doc.json b/stock/doctype/featured_item/locale/th-doc.json deleted file mode 100644 index a79d3d0ad4..0000000000 --- a/stock/doctype/featured_item/locale/th-doc.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "Featured Item": "\u0e23\u0e32\u0e22\u0e01\u0e32\u0e23\u0e40\u0e14\u0e48\u0e19", - "Featured Item in Item Group": "\u0e23\u0e32\u0e22\u0e01\u0e32\u0e23\u0e17\u0e35\u0e48\u0e42\u0e14\u0e14\u0e40\u0e14\u0e48\u0e19\u0e43\u0e19\u0e01\u0e25\u0e38\u0e48\u0e21\u0e2a\u0e34\u0e19\u0e04\u0e49\u0e32", - "Item": "\u0e0a\u0e34\u0e49\u0e19", - "Stock": "\u0e04\u0e25\u0e31\u0e07\u0e2a\u0e34\u0e19\u0e04\u0e49\u0e32" -} \ No newline at end of file diff --git a/stock/doctype/valuation_control/locale/_messages_doc.json b/stock/doctype/valuation_control/locale/_messages_doc.json deleted file mode 100644 index 21b3d8e11e..0000000000 --- a/stock/doctype/valuation_control/locale/_messages_doc.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - "Valuation Control", - "Stock" -] \ No newline at end of file diff --git a/stock/doctype/valuation_control/locale/ar-doc.json b/stock/doctype/valuation_control/locale/ar-doc.json deleted file mode 100644 index d1f4feaf3c..0000000000 --- a/stock/doctype/valuation_control/locale/ar-doc.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "Stock": "\u0627\u0644\u0623\u0648\u0631\u0627\u0642 \u0627\u0644\u0645\u0627\u0644\u064a\u0629", - "Valuation Control": "\u062a\u0642\u064a\u064a\u0645 \u0645\u0631\u0627\u0642\u0628\u0629" -} \ No newline at end of file diff --git a/stock/doctype/valuation_control/locale/de-doc.json b/stock/doctype/valuation_control/locale/de-doc.json deleted file mode 100644 index 7a2c605b33..0000000000 --- a/stock/doctype/valuation_control/locale/de-doc.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "Stock": "Lager", - "Valuation Control": "Valuation Control-" -} \ No newline at end of file diff --git a/stock/doctype/valuation_control/locale/es-doc.json b/stock/doctype/valuation_control/locale/es-doc.json deleted file mode 100644 index 147f120afb..0000000000 --- a/stock/doctype/valuation_control/locale/es-doc.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "Stock": "Valores", - "Valuation Control": "Evaluaci\u00f3n de Control" -} \ No newline at end of file diff --git a/stock/doctype/valuation_control/locale/fr-doc.json b/stock/doctype/valuation_control/locale/fr-doc.json deleted file mode 100644 index b230df6bb7..0000000000 --- a/stock/doctype/valuation_control/locale/fr-doc.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "Stock": "Stock", - "Valuation Control": "Contr\u00f4le \u00e9valuation" -} \ No newline at end of file diff --git a/stock/doctype/valuation_control/locale/hi-doc.json b/stock/doctype/valuation_control/locale/hi-doc.json deleted file mode 100644 index 7b547f6f3e..0000000000 --- a/stock/doctype/valuation_control/locale/hi-doc.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "Stock": "\u0938\u094d\u091f\u0949\u0915", - "Valuation Control": "\u092e\u0942\u0932\u094d\u092f\u093e\u0902\u0915\u0928 \u0928\u093f\u092f\u0902\u0924\u094d\u0930\u0923" -} \ No newline at end of file diff --git a/stock/doctype/valuation_control/locale/hr-doc.json b/stock/doctype/valuation_control/locale/hr-doc.json deleted file mode 100644 index 40e4b21659..0000000000 --- a/stock/doctype/valuation_control/locale/hr-doc.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "Stock": "Zaliha", - "Valuation Control": "Vrednovanje kontrola" -} \ No newline at end of file diff --git a/stock/doctype/valuation_control/locale/nl-doc.json b/stock/doctype/valuation_control/locale/nl-doc.json deleted file mode 100644 index c2dcdff6cd..0000000000 --- a/stock/doctype/valuation_control/locale/nl-doc.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "Stock": "Voorraad", - "Valuation Control": "Waardering Controle" -} \ No newline at end of file diff --git a/stock/doctype/valuation_control/locale/pt-BR-doc.json b/stock/doctype/valuation_control/locale/pt-BR-doc.json deleted file mode 100644 index 34180c08eb..0000000000 --- a/stock/doctype/valuation_control/locale/pt-BR-doc.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "Stock": "Estoque", - "Valuation Control": "Controle de Avalia\u00e7\u00e3o" -} \ No newline at end of file diff --git a/stock/doctype/valuation_control/locale/pt-doc.json b/stock/doctype/valuation_control/locale/pt-doc.json deleted file mode 100644 index b92f523b3d..0000000000 --- a/stock/doctype/valuation_control/locale/pt-doc.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "Stock": "Estoque", - "Valuation Control": "Controle de valoriza\u00e7\u00e3o" -} \ No newline at end of file diff --git a/stock/doctype/valuation_control/locale/sr-doc.json b/stock/doctype/valuation_control/locale/sr-doc.json deleted file mode 100644 index b0c2fbffbe..0000000000 --- a/stock/doctype/valuation_control/locale/sr-doc.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "Stock": "\u0417\u0430\u043b\u0438\u0445\u0430", - "Valuation Control": "\u041f\u0440\u043e\u0446\u0435\u043d\u0430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0430" -} \ No newline at end of file diff --git a/stock/doctype/valuation_control/locale/ta-doc.json b/stock/doctype/valuation_control/locale/ta-doc.json deleted file mode 100644 index 7326553225..0000000000 --- a/stock/doctype/valuation_control/locale/ta-doc.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "Stock": "\u0baa\u0b99\u0bcd\u0b95\u0bc1", - "Valuation Control": "\u0bae\u0ba4\u0bbf\u0baa\u0bcd\u0baa\u0bc0\u0b9f\u0bcd\u0b9f\u0bc1 \u0b95\u0b9f\u0bcd\u0b9f\u0bc1\u0baa\u0bcd\u0baa\u0bbe\u0b9f\u0bc1" -} \ No newline at end of file diff --git a/stock/doctype/valuation_control/locale/th-doc.json b/stock/doctype/valuation_control/locale/th-doc.json deleted file mode 100644 index ecd479c5bd..0000000000 --- a/stock/doctype/valuation_control/locale/th-doc.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "Stock": "\u0e04\u0e25\u0e31\u0e07\u0e2a\u0e34\u0e19\u0e04\u0e49\u0e32", - "Valuation Control": "\u0e04\u0e27\u0e1a\u0e04\u0e38\u0e21\u0e01\u0e32\u0e23\u0e1b\u0e23\u0e30\u0e40\u0e21\u0e34\u0e19" -} \ No newline at end of file diff --git a/website/doctype/website_product_category/__init__.py b/website/doctype/website_product_category/__init__.py deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/website/doctype/website_product_category/locale/_messages_doc.json b/website/doctype/website_product_category/locale/_messages_doc.json deleted file mode 100644 index cacc0aceff..0000000000 --- a/website/doctype/website_product_category/locale/_messages_doc.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - "Website", - "Product Category for website", - "Indent", - "Item Group", - "Website Product Category" -] \ No newline at end of file diff --git a/website/doctype/website_product_category/locale/ar-doc.json b/website/doctype/website_product_category/locale/ar-doc.json deleted file mode 100644 index eaa1f4458b..0000000000 --- a/website/doctype/website_product_category/locale/ar-doc.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "0": "0", - "1": "1", - "2": "2", - "3": "3", - "4": "4", - "5": "5", - "Indent": "\u0627\u0644\u0645\u0633\u0627\u0641\u0629 \u0627\u0644\u0628\u0627\u062f\u0626\u0629", - "Item Group": "\u0627\u0644\u0628\u0646\u062f \u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0629", - "Product Category for website": "\u0641\u0626\u0629 \u0645\u0646 \u0641\u0626\u0627\u062a \u0627\u0644\u0645\u0646\u062a\u062c\u0627\u062a \u0644\u0645\u0648\u0642\u0639 \u0627\u0644\u0648\u064a\u0628", - "Website": "\u0627\u0644\u0645\u0648\u0642\u0639", - "Website Product Category": "\u0627\u0644\u0645\u0648\u0642\u0639 \u0641\u0626\u0629 \u0627\u0644\u0645\u0646\u062a\u062c" -} \ No newline at end of file diff --git a/website/doctype/website_product_category/locale/de-doc.json b/website/doctype/website_product_category/locale/de-doc.json deleted file mode 100644 index d834954740..0000000000 --- a/website/doctype/website_product_category/locale/de-doc.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "Indent": "Einzug", - "Item Group": "Artikel-Gruppe", - "Product Category for website": "Produktkategorie f\u00fcr Website", - "Website": "Webseite", - "Website Product Category": "Website Produktkategorie" -} \ No newline at end of file diff --git a/website/doctype/website_product_category/locale/es-doc.json b/website/doctype/website_product_category/locale/es-doc.json deleted file mode 100644 index 10c6b90bb1..0000000000 --- a/website/doctype/website_product_category/locale/es-doc.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "0": "0", - "1": "1", - "2": "2", - "3": "3", - "4": "4", - "5": "5", - "Indent": "Sangrar", - "Item Group": "Grupo de art\u00edculos", - "Product Category for website": "Categor\u00eda de productos para el sitio web", - "Website": "Sitio web", - "Website Product Category": "Sitio web Categor\u00eda de producto" -} \ No newline at end of file diff --git a/website/doctype/website_product_category/locale/fr-doc.json b/website/doctype/website_product_category/locale/fr-doc.json deleted file mode 100644 index 40bfda65da..0000000000 --- a/website/doctype/website_product_category/locale/fr-doc.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "0": "0", - "1": "1", - "2": "2", - "3": "3", - "4": "4", - "5": "5", - "Indent": "Tiret", - "Item Group": "Groupe d'\u00e9l\u00e9ments", - "Product Category for website": "Cat\u00e9gorie de produit pour le site web", - "Website": "Site Web", - "Website Product Category": "Cat\u00e9gorie de produit site web" -} \ No newline at end of file diff --git a/website/doctype/website_product_category/locale/hi-doc.json b/website/doctype/website_product_category/locale/hi-doc.json deleted file mode 100644 index 5416bb9162..0000000000 --- a/website/doctype/website_product_category/locale/hi-doc.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "0": "0", - "1": "1", - "2": "2", - "3": "3", - "4": "4", - "5": "5", - "Indent": "\u092e\u093e\u0902\u0917\u092a\u0924\u094d\u0930", - "Item Group": "\u0906\u0907\u091f\u092e \u0938\u092e\u0942\u0939", - "Product Category for website": "\u0935\u0947\u092c\u0938\u093e\u0907\u091f \u0915\u0947 \u0932\u093f\u090f \u0909\u0924\u094d\u092a\u093e\u0926 \u0936\u094d\u0930\u0947\u0923\u0940", - "Website": "\u0935\u0947\u092c\u0938\u093e\u0907\u091f", - "Website Product Category": "\u0935\u0947\u092c\u0938\u093e\u0907\u091f \u0909\u0924\u094d\u092a\u093e\u0926 \u0936\u094d\u0930\u0947\u0923\u0940" -} \ No newline at end of file diff --git a/website/doctype/website_product_category/locale/hr-doc.json b/website/doctype/website_product_category/locale/hr-doc.json deleted file mode 100644 index 07ff9fd53f..0000000000 --- a/website/doctype/website_product_category/locale/hr-doc.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "0": "0", - "1": "1", - "2": "2", - "3": "3", - "4": "4", - "5": "5", - "Indent": "Uvu\u0107i", - "Item Group": "Stavka Grupa", - "Product Category for website": "Proizvod Kategorija za web stranicu", - "Website": "Website", - "Website Product Category": "Web Kategorija proizvoda" -} \ No newline at end of file diff --git a/website/doctype/website_product_category/locale/nl-doc.json b/website/doctype/website_product_category/locale/nl-doc.json deleted file mode 100644 index 4f67755928..0000000000 --- a/website/doctype/website_product_category/locale/nl-doc.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "0": "0", - "1": "1", - "2": "2", - "3": "3", - "4": "4", - "5": "5", - "Indent": "Inspringen", - "Item Group": "Item Group", - "Product Category for website": "Product Categorie voor website", - "Website": "Website", - "Website Product Category": "Website Product Category" -} \ No newline at end of file diff --git a/website/doctype/website_product_category/locale/pt-BR-doc.json b/website/doctype/website_product_category/locale/pt-BR-doc.json deleted file mode 100644 index 5fc8d29173..0000000000 --- a/website/doctype/website_product_category/locale/pt-BR-doc.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "Indent": "Recuar", - "Item Group": "Grupo de Itens", - "Product Category for website": "Categoria de Produto para o site", - "Website": "Site", - "Website Product Category": "Categoria de Produto do site" -} \ No newline at end of file diff --git a/website/doctype/website_product_category/locale/pt-doc.json b/website/doctype/website_product_category/locale/pt-doc.json deleted file mode 100644 index b09c83689c..0000000000 --- a/website/doctype/website_product_category/locale/pt-doc.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "0": "0", - "1": "1", - "2": "2", - "3": "3", - "4": "4", - "5": "5", - "Indent": "Recuar", - "Item Group": "Grupo Item", - "Product Category for website": "Categoria de Produto para o site", - "Website": "Site", - "Website Product Category": "Categoria de Produto site" -} \ No newline at end of file diff --git a/website/doctype/website_product_category/locale/sr-doc.json b/website/doctype/website_product_category/locale/sr-doc.json deleted file mode 100644 index dafa9b0624..0000000000 --- a/website/doctype/website_product_category/locale/sr-doc.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "0": "0", - "1": "1", - "2": "2", - "3": "3", - "4": "4", - "5": "5", - "Indent": "\u0423\u0432\u0443\u045b\u0438", - "Item Group": "\u0421\u0442\u0430\u0432\u043a\u0430 \u0413\u0440\u0443\u043f\u0430", - "Product Category for website": "\u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0458\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0430 \u0437\u0430 \u0441\u0430\u0458\u0442", - "Website": "\u0412\u0435\u0431\u0441\u0430\u0458\u0442", - "Website Product Category": "\u0421\u0430\u0458\u0442 \u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0458\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0430" -} \ No newline at end of file diff --git a/website/doctype/website_product_category/locale/ta-doc.json b/website/doctype/website_product_category/locale/ta-doc.json deleted file mode 100644 index 396a46af3f..0000000000 --- a/website/doctype/website_product_category/locale/ta-doc.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "0": "0", - "1": "1", - "2": "2", - "3": "3", - "4": "4", - "5": "5", - "Indent": "(\u0b8e\u0bb4\u0bc1\u0ba4\u0bc1\u0bae\u0bcd\u0baa\u0bc7\u0bbe\u0ba4\u0bc1) \u0b93\u0bb0\u0ba4\u0bcd\u0ba4\u0bbf\u0bb2\u0bcd \u0b87\u0b9f\u0bae\u0bcd \u0bb5\u0bbf\u0b9f\u0bc1", - "Item Group": "\u0b89\u0bb0\u0bc1\u0baa\u0bcd\u0baa\u0b9f\u0bbf\u0baf\u0bc8 \u0b95\u0bc1\u0bb4\u0bc1", - "Product Category for website": "\u0bb5\u0bb2\u0bc8\u0ba4\u0bcd\u0ba4\u0bb3\u0ba4\u0bcd\u0ba4\u0bc8 \u0ba4\u0baf\u0bbe\u0bb0\u0bbf\u0baa\u0bcd\u0baa\u0bc1 \u0baa\u0bbf\u0bb0\u0bbf\u0bb5\u0bc1", - "Website": "\u0b87\u0ba3\u0bc8\u0baf\u0ba4\u0bb3\u0bae\u0bcd", - "Website Product Category": "\u0b87\u0ba3\u0bc8\u0baf \u0ba4\u0baf\u0bbe\u0bb0\u0bbf\u0baa\u0bcd\u0baa\u0bc1 \u0baa\u0bbf\u0bb0\u0bbf\u0bb5\u0bc1" -} \ No newline at end of file diff --git a/website/doctype/website_product_category/locale/th-doc.json b/website/doctype/website_product_category/locale/th-doc.json deleted file mode 100644 index 405f231564..0000000000 --- a/website/doctype/website_product_category/locale/th-doc.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "0": "0", - "1": "1", - "2": "2", - "3": "3", - "4": "4", - "5": "5", - "Indent": "\u0e22\u0e48\u0e2d\u0e2b\u0e19\u0e49\u0e32", - "Item Group": "\u0e01\u0e25\u0e38\u0e48\u0e21\u0e2a\u0e34\u0e19\u0e04\u0e49\u0e32", - "Product Category for website": "\u0e1b\u0e23\u0e30\u0e40\u0e20\u0e17\u0e2a\u0e34\u0e19\u0e04\u0e49\u0e32\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c", - "Website": "\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c", - "Website Product Category": "\u0e1b\u0e23\u0e30\u0e40\u0e20\u0e17\u0e2a\u0e34\u0e19\u0e04\u0e49\u0e32\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c" -} \ No newline at end of file diff --git a/website/doctype/website_product_category/website_product_category.py b/website/doctype/website_product_category/website_product_category.py deleted file mode 100644 index 928aa9ff9f..0000000000 --- a/website/doctype/website_product_category/website_product_category.py +++ /dev/null @@ -1,8 +0,0 @@ -# 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 \ No newline at end of file diff --git a/website/doctype/website_product_category/website_product_category.txt b/website/doctype/website_product_category/website_product_category.txt deleted file mode 100644 index d0b3db8988..0000000000 --- a/website/doctype/website_product_category/website_product_category.txt +++ /dev/null @@ -1,43 +0,0 @@ -[ - { - "creation": "2013-02-22 01:28:09", - "docstatus": 0, - "modified": "2013-03-07 07:03:34", - "modified_by": "Administrator", - "owner": "Administrator" - }, - { - "description": "Product Category for website", - "doctype": "DocType", - "document_type": "Transaction", - "istable": 1, - "module": "Website", - "name": "__common__" - }, - { - "doctype": "DocField", - "name": "__common__", - "parent": "Website Product Category", - "parentfield": "fields", - "parenttype": "DocType", - "permlevel": 0 - }, - { - "doctype": "DocType", - "name": "Website Product Category" - }, - { - "doctype": "DocField", - "fieldname": "item_group", - "fieldtype": "Link", - "label": "Item Group", - "options": "Item Group" - }, - { - "doctype": "DocField", - "fieldname": "indent", - "fieldtype": "Select", - "label": "Indent", - "options": "0\n1\n2\n3\n4\n5" - } -] \ No newline at end of file