[docs] added pages for website, [cleanup] removed Unsubscribe, Product Settings, Products Settings, Product Group, Cross List Item Group, Blog Subscriber
This commit is contained in:
parent
5b059f92ff
commit
8c5a038d3b
@ -38,14 +38,7 @@ class DocType(DocTypeNestedSet):
|
||||
from webnotes.webutils import update_page_name
|
||||
# webpage updates
|
||||
page_name = self.doc.name
|
||||
if webnotes.conn.get_value("Product Settings", None,
|
||||
"default_product_category")==self.doc.name:
|
||||
page_name = "products"
|
||||
from webnotes.webutils import clear_cache
|
||||
clear_cache()
|
||||
|
||||
update_page_name(self.doc, page_name)
|
||||
|
||||
invalidate_cache_for(self.doc.name)
|
||||
|
||||
elif self.doc.page_name:
|
||||
|
@ -41,29 +41,6 @@ class DocType:
|
||||
webnotes.webutils.update_page_name(self.doc, self.doc.title)
|
||||
webnotes.webutils.delete_page_cache("writers")
|
||||
|
||||
def send_emails(self):
|
||||
"""send emails to subscribers"""
|
||||
if self.doc.email_sent:
|
||||
webnotes.msgprint("""Blog Subscribers already updated""", raise_exception=1)
|
||||
|
||||
from webnotes.utils.email_lib.bulk import send
|
||||
import webnotes.utils
|
||||
|
||||
# get leads that are subscribed to the blog
|
||||
recipients = [e[0] for e in webnotes.conn.sql("""select distinct email_id from
|
||||
tabLead where ifnull(blog_subscriber,0)=1""")]
|
||||
|
||||
# make heading as link
|
||||
content = '<h2><a href="%s/%s.html">%s</a></h2>\n\n%s' % (webnotes.utils.get_request_site_address(),
|
||||
self.doc.page_name, self.doc.title, self.doc.content)
|
||||
|
||||
# send the blog
|
||||
send(recipients = recipients, doctype='Lead', email_field='email_id',
|
||||
subject=self.doc.title, message = content)
|
||||
|
||||
webnotes.conn.set(self.doc, 'email_sent', 1)
|
||||
webnotes.msgprint("""Scheduled to send to %s subscribers""" % len(recipients))
|
||||
|
||||
def prepare_template_args(self):
|
||||
import webnotes.utils
|
||||
|
||||
|
@ -1,4 +0,0 @@
|
||||
[
|
||||
"Website",
|
||||
"Blog Subscriber"
|
||||
]
|
@ -1,4 +0,0 @@
|
||||
{
|
||||
"Blog Subscriber": "\u0628\u0644\u0648\u0642 \u0627\u0644\u0645\u0634\u062a\u0631\u0643",
|
||||
"Website": "\u0627\u0644\u0645\u0648\u0642\u0639"
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
{
|
||||
"Blog Subscriber": "Blog Subscriber",
|
||||
"Website": "Webseite"
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
{
|
||||
"Blog Subscriber": "Blog suscriptor",
|
||||
"Website": "Sitio web"
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
{
|
||||
"Blog Subscriber": "Abonn\u00e9 Blog",
|
||||
"Website": "Site Web"
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
{
|
||||
"Blog Subscriber": "\u092c\u094d\u0932\u0949\u0917 \u0938\u092c\u094d\u0938\u0915\u094d\u0930\u093e\u0907\u092c\u0930",
|
||||
"Website": "\u0935\u0947\u092c\u0938\u093e\u0907\u091f"
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
{
|
||||
"Blog Subscriber": "Blog Pretplatnik",
|
||||
"Website": "Website"
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
{
|
||||
"Blog Subscriber": "Blog Abonnee",
|
||||
"Website": "Website"
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
{
|
||||
"Blog Subscriber": "Assinante do Blog",
|
||||
"Website": "Site"
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
{
|
||||
"Blog Subscriber": "Assinante Blog",
|
||||
"Website": "Site"
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
{
|
||||
"Blog Subscriber": "\u0411\u043b\u043e\u0433 \u041f\u0440\u0435\u0442\u043f\u043b\u0430\u0442\u043d\u0438\u043a",
|
||||
"Website": "\u0412\u0435\u0431\u0441\u0430\u0458\u0442"
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
{
|
||||
"Blog Subscriber": "\u0bb5\u0bb2\u0bc8\u0baa\u0bcd\u0baa\u0ba4\u0bbf\u0bb5\u0bc1 \u0b9a\u0ba8\u0bcd\u0ba4\u0bbe\u0ba4\u0bbe\u0bb0\u0bb0\u0bcd",
|
||||
"Website": "\u0b87\u0ba3\u0bc8\u0baf\u0ba4\u0bb3\u0bae\u0bcd"
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
{
|
||||
"Blog Subscriber": "\u0e2a\u0e21\u0e32\u0e0a\u0e34\u0e01\u0e1a\u0e25\u0e47\u0e2d\u0e01",
|
||||
"Website": "\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
[
|
||||
"Website",
|
||||
"Cross List Item Group",
|
||||
"Cross Listing of Item in multiple groups",
|
||||
"Item Group"
|
||||
]
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Cross List Item Group": "\u0639\u0628\u0648\u0631 \u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0641\u0631\u064a\u0642 \u0627\u0644\u0625\u063a\u0644\u0627\u0642",
|
||||
"Cross Listing of Item in multiple groups": "\u0639\u0628\u0648\u0631 \u0625\u062f\u0631\u0627\u062c \u0639\u0646\u0635\u0631 \u0641\u064a \u0645\u062c\u0645\u0648\u0639\u0627\u062a \u0645\u062a\u0639\u062f\u062f\u0629",
|
||||
"Item Group": "\u0627\u0644\u0628\u0646\u062f \u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0629",
|
||||
"Website": "\u0627\u0644\u0645\u0648\u0642\u0639"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Cross List Item Group": "\u00dcberqueren List Item-Gruppe",
|
||||
"Cross Listing of Item in multiple groups": "\u00dcberqueren Auflistung der Artikel in mehreren Gruppen",
|
||||
"Item Group": "Artikel-Gruppe",
|
||||
"Website": "Webseite"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Cross List Item Group": "Grupo de la Cruz lista de elementos",
|
||||
"Cross Listing of Item in multiple groups": "Cruce Listado de art\u00edculos en varios grupos",
|
||||
"Item Group": "Grupo de art\u00edculos",
|
||||
"Website": "Sitio web"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Cross List Item Group": "Traversez Groupe \u00e9l\u00e9ment de liste",
|
||||
"Cross Listing of Item in multiple groups": "Cross Listing des articles dans plusieurs groupes",
|
||||
"Item Group": "Groupe d'\u00e9l\u00e9ments",
|
||||
"Website": "Site Web"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Cross List Item Group": "\u0915\u094d\u0930\u0949\u0938 \u0938\u0942\u091a\u0940 \u0906\u0907\u091f\u092e \u0938\u092e\u0942\u0939",
|
||||
"Cross Listing of Item in multiple groups": "\u0915\u0908 \u0938\u092e\u0942\u0939\u094b\u0902 \u092e\u0947\u0902 \u0906\u0907\u091f\u092e \u0932\u093f\u0938\u094d\u091f\u093f\u0902\u0917 \u092a\u093e\u0930",
|
||||
"Item Group": "\u0906\u0907\u091f\u092e \u0938\u092e\u0942\u0939",
|
||||
"Website": "\u0935\u0947\u092c\u0938\u093e\u0907\u091f"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Cross List Item Group": "Kri\u017e Group stavku popisa",
|
||||
"Cross Listing of Item in multiple groups": "Kri\u017e Oglas stavke u vi\u0161e grupa",
|
||||
"Item Group": "Stavka Grupa",
|
||||
"Website": "Website"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Cross List Item Group": "Cross List Item Group",
|
||||
"Cross Listing of Item in multiple groups": "Kruis een overzicht van onze item in meerdere groepen",
|
||||
"Item Group": "Item Group",
|
||||
"Website": "Website"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Cross List Item Group": "Grupo de Itens da Lista Cruzada",
|
||||
"Cross Listing of Item in multiple groups": "Listagem Cruzada dos itens em m\u00faltiplos grupos",
|
||||
"Item Group": "Grupo de Itens",
|
||||
"Website": "Site"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Cross List Item Group": "Atravesse Grupo item da lista",
|
||||
"Cross Listing of Item in multiple groups": "Atravesse de Listagem do item em v\u00e1rios grupos",
|
||||
"Item Group": "Grupo Item",
|
||||
"Website": "Site"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Cross List Item Group": "\u041a\u0440\u0441\u0442 \u0413\u0440\u043e\u0443\u043f \u041b\u0438\u0441\u0442 \u0418\u0442\u0435\u043c",
|
||||
"Cross Listing of Item in multiple groups": "\u041a\u0440\u0441\u0442 \u041b\u0438\u0441\u0442\u0438\u043d\u0433 \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u0430 \u043d\u0430 \u0432\u0438\u0448\u0435 \u0433\u0440\u0443\u043f\u0430",
|
||||
"Item Group": "\u0421\u0442\u0430\u0432\u043a\u0430 \u0413\u0440\u0443\u043f\u0430",
|
||||
"Website": "\u0412\u0435\u0431\u0441\u0430\u0458\u0442"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Cross List Item Group": "\u0baa\u0b9f\u0bcd\u0b9f\u0bbf\u0baf\u0bb2\u0bcd \u0b89\u0bb0\u0bc1\u0baa\u0bcd\u0baa\u0b9f\u0bbf \u0b95\u0bc1\u0bb4\u0bc1 \u0b95\u0b9f\u0b95\u0bcd\u0b95",
|
||||
"Cross Listing of Item in multiple groups": "\u0baa\u0bb2 \u0b95\u0bc1\u0bb4\u0bc1\u0b95\u0bcd\u0b95\u0bb3\u0bbe\u0b95 \u0b89\u0bb0\u0bc1\u0baa\u0bcd\u0baa\u0b9f\u0bbf \u0baa\u0b9f\u0bcd\u0b9f\u0bbf\u0baf\u0bb2\u0bcd \u0b95\u0b9f\u0b95\u0bcd\u0b95",
|
||||
"Item Group": "\u0b89\u0bb0\u0bc1\u0baa\u0bcd\u0baa\u0b9f\u0bbf\u0baf\u0bc8 \u0b95\u0bc1\u0bb4\u0bc1",
|
||||
"Website": "\u0b87\u0ba3\u0bc8\u0baf\u0ba4\u0bb3\u0bae\u0bcd"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Cross List Item Group": "\u0e02\u0e49\u0e32\u0e21\u0e01\u0e25\u0e38\u0e48\u0e21\u0e23\u0e32\u0e22\u0e01\u0e32\u0e23",
|
||||
"Cross Listing of Item in multiple groups": "\u0e02\u0e49\u0e32\u0e21\u0e23\u0e32\u0e22\u0e01\u0e32\u0e23\u0e02\u0e2d\u0e07\u0e23\u0e32\u0e22\u0e01\u0e32\u0e23\u0e43\u0e19\u0e2b\u0e25\u0e32\u0e22\u0e01\u0e25\u0e38\u0e48\u0e21",
|
||||
"Item Group": "\u0e01\u0e25\u0e38\u0e48\u0e21\u0e2a\u0e34\u0e19\u0e04\u0e49\u0e32",
|
||||
"Website": "\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
[
|
||||
"Website",
|
||||
"Label",
|
||||
"Item Group",
|
||||
"Product Group"
|
||||
]
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Item Group": "\u0627\u0644\u0628\u0646\u062f \u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0629",
|
||||
"Label": "\u0645\u0644\u0635\u0642",
|
||||
"Product Group": "\u0645\u062c\u0645\u0648\u0639\u0629 \u0627\u0644\u0645\u0646\u062a\u062c\u0627\u062a",
|
||||
"Website": "\u0627\u0644\u0645\u0648\u0642\u0639"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Item Group": "Artikel-Gruppe",
|
||||
"Label": "Etikett",
|
||||
"Product Group": "Product Group",
|
||||
"Website": "Webseite"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Item Group": "Grupo de art\u00edculos",
|
||||
"Label": "Etiqueta",
|
||||
"Product Group": "Grupo de productos",
|
||||
"Website": "Sitio web"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Item Group": "Groupe d'\u00e9l\u00e9ments",
|
||||
"Label": "\u00c9tiquette",
|
||||
"Product Group": "Groupe de produits",
|
||||
"Website": "Site Web"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Item Group": "\u0906\u0907\u091f\u092e \u0938\u092e\u0942\u0939",
|
||||
"Label": "\u0932\u0947\u092c\u0932",
|
||||
"Product Group": "\u0909\u0924\u094d\u092a\u093e\u0926 \u0938\u092e\u0942\u0939",
|
||||
"Website": "\u0935\u0947\u092c\u0938\u093e\u0907\u091f"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Item Group": "Stavka Grupa",
|
||||
"Label": "Oznaka",
|
||||
"Product Group": "Product Group",
|
||||
"Website": "Website"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Item Group": "Item Group",
|
||||
"Label": "Label",
|
||||
"Product Group": "Productgroep",
|
||||
"Website": "Website"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Item Group": "Grupo de Itens",
|
||||
"Label": "Etiqueta",
|
||||
"Product Group": "Grupo de Produtos",
|
||||
"Website": "Site"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Item Group": "Grupo Item",
|
||||
"Label": "Etiqueta",
|
||||
"Product Group": "Grupo de Produtos",
|
||||
"Website": "Site"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Item Group": "\u0421\u0442\u0430\u0432\u043a\u0430 \u0413\u0440\u0443\u043f\u0430",
|
||||
"Label": "\u041d\u0430\u043b\u0435\u043f\u043d\u0438\u0446\u0430",
|
||||
"Product Group": "\u0413\u0440\u0443\u043f\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0430",
|
||||
"Website": "\u0412\u0435\u0431\u0441\u0430\u0458\u0442"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Item Group": "\u0b89\u0bb0\u0bc1\u0baa\u0bcd\u0baa\u0b9f\u0bbf\u0baf\u0bc8 \u0b95\u0bc1\u0bb4\u0bc1",
|
||||
"Label": "\u0b9a\u0bbf\u0b9f\u0bcd\u0b9f\u0bc8",
|
||||
"Product Group": "\u0ba4\u0baf\u0bbe\u0bb0\u0bbf\u0baa\u0bcd\u0baa\u0bc1 \u0b95\u0bc1\u0bb4\u0bc1",
|
||||
"Website": "\u0b87\u0ba3\u0bc8\u0baf\u0ba4\u0bb3\u0bae\u0bcd"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Item Group": "\u0e01\u0e25\u0e38\u0e48\u0e21\u0e2a\u0e34\u0e19\u0e04\u0e49\u0e32",
|
||||
"Label": "\u0e09\u0e25\u0e32\u0e01",
|
||||
"Product Group": "\u0e01\u0e25\u0e38\u0e48\u0e21\u0e2a\u0e34\u0e19\u0e04\u0e49\u0e32",
|
||||
"Website": "\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c"
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
[
|
||||
"Website",
|
||||
"Settings for Product Catalog on the website",
|
||||
"Help",
|
||||
"Search Help",
|
||||
"List of Item Groups to be shown in \"All Products\" menu - in the sequence wanted and with number of indents (left spacing to show a tree effect).",
|
||||
"Product Settings",
|
||||
"Default: \"Product Search\"",
|
||||
"Default Product Category",
|
||||
"This Item Group represents \"products.html\"",
|
||||
"Website Product Categories",
|
||||
"Product Categories"
|
||||
]
|
@ -1,13 +0,0 @@
|
||||
{
|
||||
"Default Product Category": "\u0641\u0626\u0629 \u0627\u0644\u0645\u0646\u062a\u062c \u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a",
|
||||
"Default: \"Product Search\"": "\u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a: "\u0627\u0644\u0628\u062d\u062b \u0639\u0646 \u0645\u0646\u062a\u062c"",
|
||||
"Help": "\u0645\u0633\u0627\u0639\u062f\u0629",
|
||||
"List of Item Groups to be shown in \"All Products\" menu - in the sequence wanted and with number of indents (left spacing to show a tree effect).": "\u0623\u0631\u0627\u062f \u0641\u064a \u062a\u0633\u0644\u0633\u0644 \u0648\u0645\u0639 \u0639\u062f\u062f \u0645\u0646 \u0627\u0644\u0645\u0633\u0627\u0641\u0627\u062a \u0627\u0644\u0628\u0627\u062f\u0626\u0629 (\u062a\u0628\u0627\u0639\u062f \u0627\u0644\u064a\u0633\u0627\u0631 \u0644\u0625\u0638\u0647\u0627\u0631 \u062a\u0623\u062b\u064a\u0631 \u0634\u062c\u0631\u0629) - \u0642\u0627\u0626\u0645\u0629 \u0645\u062c\u0645\u0648\u0639\u0627\u062a \u0627\u0644\u0625\u063a\u0644\u0627\u0642 \u0644\u0639\u0631\u0636\u0647\u0627 \u0641\u064a "\u0643\u0627\u0641\u0629 \u0627\u0644\u0645\u0646\u062a\u062c\u0627\u062a" \u0627\u0644\u0642\u0627\u0626\u0645\u0629.",
|
||||
"Product Categories": "\u0641\u0626\u0627\u062a \u0627\u0644\u0645\u0646\u062a\u062c\u0627\u062a",
|
||||
"Product Settings": "\u0627\u0644\u0645\u0646\u062a\u062c \u0625\u0639\u062f\u0627\u062f\u0627\u062a",
|
||||
"Search Help": "\u062a\u0639\u0644\u064a\u0645\u0627\u062a \u0628\u062d\u062b",
|
||||
"Settings for Product Catalog on the website": "\u0625\u0639\u062f\u0627\u062f\u0627\u062a \u062f\u0644\u064a\u0644 \u0627\u0644\u0645\u0646\u062a\u062c \u0639\u0644\u0649 \u0627\u0644\u0645\u0648\u0642\u0639",
|
||||
"This Item Group represents \"products.html\"": "\u0647\u0630\u0627 \u0627\u0644\u0641\u0631\u064a\u0642 \u064a\u0645\u062b\u0644 \u0627\u0644\u0645\u062f\u064a\u0646\u0629 "products.html"",
|
||||
"Website": "\u0627\u0644\u0645\u0648\u0642\u0639",
|
||||
"Website Product Categories": "\u0641\u0626\u0627\u062a \u0627\u0644\u0645\u0646\u062a\u062c\u0627\u062a \u0627\u0644\u0645\u0648\u0642\u0639"
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
{
|
||||
"Default Product Category": "Standard Produktkategorie",
|
||||
"Default: \"Product Search\"": "Default: \"Product Search\"",
|
||||
"Help": "Hilfe",
|
||||
"List of Item Groups to be shown in \"All Products\" menu - in the sequence wanted and with number of indents (left spacing to show a tree effect).": "Liste der Artikel Groups in \"Alle Produkte\"-Men\u00fc angezeigt werden - und wollte in der Folge mit der Anzahl der Einz\u00fcge (links, um den Baum Abstand Wirkung zu zeigen).",
|
||||
"Product Categories": "Produktkategorien",
|
||||
"Product Settings": "Produkt-Settings",
|
||||
"Search Help": "Suchen Hilfe",
|
||||
"Settings for Product Catalog on the website": "Einstellungen f\u00fcr Produkt-Katalog auf der Website",
|
||||
"This Item Group represents \"products.html\"": "Dieser Artikel Gruppe stellt \"products.html\"",
|
||||
"Website": "Webseite",
|
||||
"Website Product Categories": "Website Produktkategorien"
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
{
|
||||
"Default Product Category": "Predeterminado Categor\u00eda de producto",
|
||||
"Default: \"Product Search\"": "Default: "B\u00fasqueda de Productos"",
|
||||
"Help": "Ayudar",
|
||||
"List of Item Groups to be shown in \"All Products\" menu - in the sequence wanted and with number of indents (left spacing to show a tree effect).": "Lista de los grupos de art\u00edculos que se muestran en "Todos los productos" men\u00fa - en el orden deseado y con el n\u00famero de guiones (espaciado izquierda para mostrar un efecto de \u00e1rbol).",
|
||||
"Product Categories": "Categor\u00edas de Productos",
|
||||
"Product Settings": "Configuraci\u00f3n del producto",
|
||||
"Search Help": "B\u00fasqueda Ayuda",
|
||||
"Settings for Product Catalog on the website": "Ajustes de cat\u00e1logo de productos en el sitio web",
|
||||
"This Item Group represents \"products.html\"": "Este grupo de elementos representa "products.html"",
|
||||
"Website": "Sitio web",
|
||||
"Website Product Categories": "Categor\u00edas sitio web del producto"
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
{
|
||||
"Default Product Category": "Cat\u00e9gorie de produit par d\u00e9faut",
|
||||
"Default: \"Product Search\"": "Par d\u00e9faut: "Product Search"",
|
||||
"Help": "Aider",
|
||||
"List of Item Groups to be shown in \"All Products\" menu - in the sequence wanted and with number of indents (left spacing to show a tree effect).": "Liste des Groupes d'articles \u00e0 afficher dans "Tous les produits" menu - dans l'ordre voulu et avec le nombre de tirets (espacement \u00e0 gauche pour montrer un effet d'arbres).",
|
||||
"Product Categories": "Cat\u00e9gories de produits",
|
||||
"Product Settings": "Param\u00e8tres du produit",
|
||||
"Search Help": "Aide pour la recherche",
|
||||
"Settings for Product Catalog on the website": "Param\u00e8tres de catalogue de produits sur le site",
|
||||
"This Item Group represents \"products.html\"": "Ce groupe repr\u00e9sente article "products.html"",
|
||||
"Website": "Site Web",
|
||||
"Website Product Categories": "Cat\u00e9gories de produits Site web"
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
{
|
||||
"Default Product Category": "\u0921\u093f\u092b\u093c\u0949\u0932\u094d\u091f \u0909\u0924\u094d\u092a\u093e\u0926 \u0936\u094d\u0930\u0947\u0923\u0940",
|
||||
"Default: \"Product Search\"": "\u0921\u093f\u092b\u093c\u0949\u0932\u094d\u091f: "\u0909\u0924\u094d\u092a\u093e\u0926 \u0916\u094b\u091c"",
|
||||
"Help": "\u092e\u0926\u0926",
|
||||
"List of Item Groups to be shown in \"All Products\" menu - in the sequence wanted and with number of indents (left spacing to show a tree effect).": "\u0906\u0907\u091f\u092e \u0938\u092e\u0942\u0939 \u0915\u0940 \u0938\u0942\u091a\u0940 "\u0938\u092d\u0940 \u0909\u0924\u094d\u092a\u093e\u0926" \u092e\u0947\u0928\u0942 \u092e\u0947\u0902 \u0926\u093f\u0916\u093e\u092f\u093e \u091c\u093e \u0938\u0915\u0924\u093e \u0939\u0948 - \u0905\u0928\u0941\u0915\u094d\u0930\u092e \u092e\u0947\u0902 \u0915\u0930\u0928\u093e \u091a\u093e\u0939\u0924\u093e \u0925\u093e \u0914\u0930 \u0907\u0902\u0921\u0947\u0902\u091f (\u092c\u093e\u090f\u0902 \u0930\u093f\u0915\u094d\u0924\u093f \u0915\u0947 \u0932\u093f\u090f \u090f\u0915 \u092a\u0947\u0921\u093c \u0915\u0947 \u092a\u094d\u0930\u092d\u093e\u0935 \u0915\u094b \u0926\u093f\u0916\u093e\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f) \u0915\u0940 \u0938\u0902\u0916\u094d\u092f\u093e \u0915\u0947 \u0938\u093e\u0925.",
|
||||
"Product Categories": "\u0909\u0924\u094d\u092a\u093e\u0926 \u0936\u094d\u0930\u0947\u0923\u093f\u092f\u094b\u0902",
|
||||
"Product Settings": "\u0909\u0924\u094d\u092a\u093e\u0926 \u0938\u0947\u091f\u093f\u0902\u0917",
|
||||
"Search Help": "\u0916\u094b\u091c \u0938\u0939\u093e\u092f\u0924\u093e",
|
||||
"Settings for Product Catalog on the website": "\u0935\u0947\u092c\u0938\u093e\u0907\u091f \u092a\u0930 \u0909\u0924\u094d\u092a\u093e\u0926 \u0915\u0948\u091f\u0932\u0949\u0917 \u0915\u0947 \u0932\u093f\u090f \u0938\u0947\u091f\u093f\u0902\u0917\u094d\u0938",
|
||||
"This Item Group represents \"products.html\"": "\u0907\u0938 \u092e\u0926 \u0938\u092e\u0942\u0939 \u0939\u0948 "products.html" \u0915\u093e \u092a\u094d\u0930\u0924\u093f\u0928\u093f\u0927\u093f\u0924\u094d\u0935 \u0915\u0930\u0924\u093e \u0939\u0948",
|
||||
"Website": "\u0935\u0947\u092c\u0938\u093e\u0907\u091f",
|
||||
"Website Product Categories": "\u0935\u0947\u092c\u0938\u093e\u0907\u091f \u0909\u0924\u094d\u092a\u093e\u0926 \u0936\u094d\u0930\u0947\u0923\u093f\u092f\u093e\u0901"
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
{
|
||||
"Default Product Category": "Zadani Kategorija proizvoda",
|
||||
"Default: \"Product Search\"": "Default: "Na Tra\u017ei"",
|
||||
"Help": "Pomo\u0107i",
|
||||
"List of Item Groups to be shown in \"All Products\" menu - in the sequence wanted and with number of indents (left spacing to show a tree effect).": "Popis Artikl grupe koji \u0107e biti prikazan u "Svi proizvodi" izbornik - u slijedu htjela i sa brojem alineje (lijevo razmak pokazati stablo u\u010dinak).",
|
||||
"Product Categories": "Kategorije proizvoda",
|
||||
"Product Settings": "Postavke proizvoda",
|
||||
"Search Help": "Tra\u017ei Pomo\u0107",
|
||||
"Settings for Product Catalog on the website": "Postavke za Katalog proizvoda na web stranici",
|
||||
"This Item Group represents \"products.html\"": "Ova to\u010dka Grupa predstavlja "products.html"",
|
||||
"Website": "Website",
|
||||
"Website Product Categories": "Website Kategorije proizvoda"
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
{
|
||||
"Default Product Category": "Standaard Product Categorie",
|
||||
"Default: \"Product Search\"": "Standaard: "Product zoeken"",
|
||||
"Help": "Help",
|
||||
"List of Item Groups to be shown in \"All Products\" menu - in the sequence wanted and with number of indents (left spacing to show a tree effect).": "Lijst van Artikelgroepen kunnen worden weergegeven in "Alle producten" menu - in de reeks wilde en met het aantal streepjes (links handig een boom effect te tonen).",
|
||||
"Product Categories": "Product Categorie\u00ebn",
|
||||
"Product Settings": "Product-instellingen",
|
||||
"Search Help": "Zoek in Help",
|
||||
"Settings for Product Catalog on the website": "Instellingen voor Productcatalogus op de website",
|
||||
"This Item Group represents \"products.html\"": "Dit artikel Group vertegenwoordigt "products.html"",
|
||||
"Website": "Website",
|
||||
"Website Product Categories": "Website Product Categorie\u00ebn"
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
{
|
||||
"Default Product Category": "Categoria de produto padr\u00e3o",
|
||||
"Default: \"Product Search\"": "Padr\u00e3o: "Pesquisa de Produto"",
|
||||
"Help": "Ajudar",
|
||||
"List of Item Groups to be shown in \"All Products\" menu - in the sequence wanted and with number of indents (left spacing to show a tree effect).": "Lista de Grupos de Itens a serem mostrado no menu "Todos os Produtos" - na sequ\u00eancia desejada e com o n\u00famero de recuos (espa\u00e7amento \u00e0 esquerda para mostrar um efeito de \u00e1rvore).",
|
||||
"Product Categories": "Categorias de Produtos",
|
||||
"Product Settings": "Configura\u00e7\u00f5es do produto",
|
||||
"Search Help": "Procurar Ajuda",
|
||||
"Settings for Product Catalog on the website": "Configura\u00e7\u00f5es da P\u00e1gina Cat\u00e1logo de Produtos no site",
|
||||
"This Item Group represents \"products.html\"": "Este Grupo de Itens representa "produtos.html"",
|
||||
"Website": "Site",
|
||||
"Website Product Categories": "Categorias de Produto do site"
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
{
|
||||
"Default Product Category": "Categoria de produto padr\u00e3o",
|
||||
"Default: \"Product Search\"": "Default: "Pesquisa de Produto"",
|
||||
"Help": "Ajudar",
|
||||
"List of Item Groups to be shown in \"All Products\" menu - in the sequence wanted and with number of indents (left spacing to show a tree effect).": "Lista de Grupos de itens a ser mostrado em "todos os produtos" menu - na seq\u00fc\u00eancia queria e com o n\u00famero de travess\u00f5es (espa\u00e7amento esquerda para mostrar um efeito de \u00e1rvore).",
|
||||
"Product Categories": "Categorias de Produtos",
|
||||
"Product Settings": "Configura\u00e7\u00f5es do produto",
|
||||
"Search Help": "Procurar Ajuda",
|
||||
"Settings for Product Catalog on the website": "Configura\u00e7\u00f5es para Cat\u00e1logo de Produtos no site",
|
||||
"This Item Group represents \"products.html\"": "Este Grupo item representa "products.html"",
|
||||
"Website": "Site",
|
||||
"Website Product Categories": "Produto Website Categorias"
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
{
|
||||
"Default Product Category": "\u0423\u043e\u0431\u0438\u0447\u0430\u0458\u0435\u043d\u043e \u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0458\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0430",
|
||||
"Default: \"Product Search\"": "\u0414\u0435\u0444\u0430\u0443\u043b\u0442: "\u041f\u0440\u0435\u0442\u0440\u0430\u0436\u0438\u0432\u0430\u045a\u0435"",
|
||||
"Help": "\u041f\u043e\u043c\u043e\u045b",
|
||||
"List of Item Groups to be shown in \"All Products\" menu - in the sequence wanted and with number of indents (left spacing to show a tree effect).": "\u0421\u043f\u0438\u0441\u0430\u043a \u0430\u0440\u0442\u0438\u043a\u0430\u043b\u0430 \u0433\u0440\u0443\u043f\u0430 \u0431\u0443\u0434\u0435 \u043f\u0440\u0438\u043a\u0430\u0437\u0430\u043d \u0443 "\u0421\u0432\u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438 \u0443" \u043c\u0435\u043d\u0438\u0458\u0443 - \u0443 \u043d\u0438\u0437\u0443 \u0436\u0435\u043b\u0435\u043b\u0438 \u0438 \u0441\u0430 \u0431\u0440\u043e\u0458\u0435\u043c \u0430\u043b\u0438\u043d\u0435\u0458\u0435 (\u043b\u0435\u0432\u043e \u0440\u0430\u0437\u043c\u0430\u043a \u0434\u0430 \u043f\u043e\u043a\u0430\u0436\u0435 \u0435\u0444\u0435\u043a\u0430\u0442 \u0441\u0442\u0430\u0431\u043b\u0430).",
|
||||
"Product Categories": "\u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0458\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0430",
|
||||
"Product Settings": "\u041f\u043e\u0434\u0435\u0448\u0430\u0432\u0430\u045a\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0430",
|
||||
"Search Help": "\u041f\u0440\u0435\u0442\u0440\u0430\u0433\u0430 \u041f\u043e\u043c\u043e\u045b",
|
||||
"Settings for Product Catalog on the website": "\u041f\u043e\u0434\u0435\u0448\u0430\u0432\u0430\u045a\u0430 \u0437\u0430 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0430 \u043d\u0430 \u0441\u0430\u0458\u0442\u0443",
|
||||
"This Item Group represents \"products.html\"": "\u041e\u0432\u0430 \u0442\u0430\u0447\u043a\u0430 \u0413\u0440\u0443\u043f\u0430 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0459\u0430 "\u043f\u0440\u043e\u0434\u0443\u0446\u0442\u0441.\u0445\u0442\u043c\u043b"",
|
||||
"Website": "\u0412\u0435\u0431\u0441\u0430\u0458\u0442",
|
||||
"Website Product Categories": "\u0421\u0430\u0458\u0442 \u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0458\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0430"
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
{
|
||||
"Default Product Category": "\u0bae\u0bc1\u0ba9\u0bcd\u0ba9\u0bbf\u0bb0\u0bc1\u0baa\u0bcd\u0baa\u0bc1 \u0ba4\u0baf\u0bbe\u0bb0\u0bbf\u0baa\u0bcd\u0baa\u0bc1 \u0baa\u0bbf\u0bb0\u0bbf\u0bb5\u0bc1",
|
||||
"Default: \"Product Search\"": "\u0bae\u0bc1\u0ba9\u0bcd\u0ba9\u0bbf\u0bb0\u0bc1\u0baa\u0bcd\u0baa\u0bc1: "\u0ba4\u0bc7\u0b9f\u0bb2\u0bcd"",
|
||||
"Help": "\u0b89\u0ba4\u0bb5\u0bbf",
|
||||
"List of Item Groups to be shown in \"All Products\" menu - in the sequence wanted and with number of indents (left spacing to show a tree effect).": ""\u0b85\u0ba9\u0bc8\u0ba4\u0bcd\u0ba4\u0bc1 \u0ba4\u0baf\u0bbe\u0bb0\u0bbf\u0baa\u0bcd\u0baa\u0bc1\u0b95\u0bb3\u0bcd" \u0baa\u0b9f\u0bcd\u0b9f\u0bbf \u0b95\u0bbe\u0ba3\u0bcd\u0baa\u0bbf\u0b95\u0bcd\u0b95\u0baa\u0bcd\u0baa\u0b9f\u0bc1\u0bae\u0bcd \u0bb5\u0bc7\u0ba3\u0bcd\u0b9f\u0bc1\u0bae\u0bcd \u0b89\u0bb0\u0bc1\u0baa\u0bcd\u0baa\u0b9f\u0bbf \u0b95\u0bc1\u0bb4\u0bc1\u0b95\u0bcd\u0b95\u0bb3\u0bcd \u0baa\u0b9f\u0bcd\u0b9f\u0bbf\u0baf\u0bb2\u0bcd - \u0bb5\u0bb0\u0bbf\u0b9a\u0bc8 \u0ba4\u0bc7\u0bb5\u0bc8 \u0bae\u0bb1\u0bcd\u0bb1\u0bc1\u0bae\u0bcd \u0b87\u0b9f\u0bc8\u0bb5\u0bc6\u0bb3\u0bbf\u0b95\u0bb3\u0bcd \u0b8e\u0ba3\u0bcd\u0ba3\u0bbf\u0b95\u0bcd\u0b95\u0bc8 (\u0b92\u0bb0\u0bc1 \u0bae\u0bb0\u0bae\u0bcd \u0bb5\u0bbf\u0bb3\u0bc8\u0bb5\u0bc8 \u0b95\u0bbe\u0b9f\u0bcd\u0b9f \u0b87\u0b9f\u0ba4\u0bc1 \u0b87\u0b9f\u0bc8\u0bb5\u0bc6\u0bb3\u0bbf) \u0b89\u0b9f\u0ba9\u0bcd.",
|
||||
"Product Categories": "\u0ba4\u0baf\u0bbe\u0bb0\u0bbf\u0baa\u0bcd\u0baa\u0bc1 \u0bb5\u0b95\u0bc8\u0b95\u0bb3\u0bcd",
|
||||
"Product Settings": "\u0ba4\u0baf\u0bbe\u0bb0\u0bbf\u0baa\u0bcd\u0baa\u0bc1 \u0b85\u0bae\u0bc8\u0baa\u0bcd\u0baa\u0bc1\u0b95\u0bb3\u0bcd",
|
||||
"Search Help": "\u0baa\u0bc6\u0bbe\u0bb4\u0bc1\u0ba4\u0bc1\u0baa\u0bc7\u0bbe\u0b95\u0bcd\u0b95\u0bc1",
|
||||
"Settings for Product Catalog on the website": "\u0bb5\u0bb2\u0bc8\u0ba4\u0bcd\u0ba4\u0bb3\u0ba4\u0bcd\u0ba4\u0bbf\u0bb2\u0bcd \u0ba4\u0baf\u0bbe\u0bb0\u0bbf\u0baa\u0bcd\u0baa\u0bc1 \u0baa\u0b9f\u0bcd\u0b9f\u0bbf\u0baf\u0bb2\u0bbf\u0bb2\u0bcd \u0b85\u0bae\u0bc8\u0baa\u0bcd\u0baa\u0bc1\u0b95\u0bb3\u0bc8",
|
||||
"This Item Group represents \"products.html\"": "\u0b87\u0ba8\u0bcd\u0ba4 \u0b89\u0bb0\u0bc1\u0baa\u0bcd\u0baa\u0b9f\u0bbf \u0b95\u0bc1\u0bb4\u0bc1 "products.html" \u0baa\u0bbf\u0bb0\u0ba4\u0bbf\u0ba8\u0bbf\u0ba4\u0bbf\u0ba4\u0bcd\u0ba4\u0bc1\u0bb5\u0bae\u0bcd",
|
||||
"Website": "\u0b87\u0ba3\u0bc8\u0baf\u0ba4\u0bb3\u0bae\u0bcd",
|
||||
"Website Product Categories": "\u0b87\u0ba3\u0bc8\u0baf \u0ba4\u0baf\u0bbe\u0bb0\u0bbf\u0baa\u0bcd\u0baa\u0bc1 \u0bb5\u0b95\u0bc8\u0b95\u0bb3\u0bcd"
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
{
|
||||
"Default Product Category": "\u0e1b\u0e23\u0e30\u0e40\u0e20\u0e17\u0e2a\u0e34\u0e19\u0e04\u0e49\u0e32\u0e40\u0e23\u0e34\u0e48\u0e21\u0e15\u0e49\u0e19",
|
||||
"Default: \"Product Search\"": "\u0e40\u0e23\u0e34\u0e48\u0e21\u0e15\u0e49\u0e19: "\u0e04\u0e49\u0e19\u0e2b\u0e32\u0e1c\u0e25\u0e34\u0e15\u0e20\u0e31\u0e13\u0e11\u0e4c"",
|
||||
"Help": "\u0e0a\u0e48\u0e27\u0e22",
|
||||
"List of Item Groups to be shown in \"All Products\" menu - in the sequence wanted and with number of indents (left spacing to show a tree effect).": "\u0e23\u0e32\u0e22\u0e0a\u0e37\u0e48\u0e2d\u0e01\u0e25\u0e38\u0e48\u0e21\u0e2a\u0e34\u0e19\u0e04\u0e49\u0e32\u0e17\u0e35\u0e48\u0e08\u0e30\u0e41\u0e2a\u0e14\u0e07\u0e43\u0e19 "\u0e17\u0e38\u0e01\u0e1c\u0e25\u0e34\u0e15\u0e20\u0e31\u0e13\u0e11\u0e4c" \u0e40\u0e21\u0e19\u0e39 - \u0e43\u0e19\u0e25\u0e33\u0e14\u0e31\u0e1a\u0e17\u0e35\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e41\u0e25\u0e30\u0e21\u0e35\u0e08\u0e33\u0e19\u0e27\u0e19\u0e02\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e40\u0e22\u0e37\u0e49\u0e2d\u0e07 (\u0e23\u0e30\u0e22\u0e30\u0e2b\u0e48\u0e32\u0e07\u0e14\u0e49\u0e32\u0e19\u0e0b\u0e49\u0e32\u0e22\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e41\u0e2a\u0e14\u0e07\u0e1c\u0e25\u0e15\u0e49\u0e19\u0e44\u0e21\u0e49)",
|
||||
"Product Categories": "\u0e2b\u0e21\u0e27\u0e14\u0e2b\u0e21\u0e39\u0e48\u0e2a\u0e34\u0e19\u0e04\u0e49\u0e32",
|
||||
"Product Settings": "\u0e01\u0e32\u0e23\u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32\u0e1c\u0e25\u0e34\u0e15\u0e20\u0e31\u0e13\u0e11\u0e4c",
|
||||
"Search Help": "\u0e04\u0e49\u0e19\u0e2b\u0e32\u0e0a\u0e48\u0e27\u0e22\u0e40\u0e2b\u0e25\u0e37\u0e2d",
|
||||
"Settings for Product Catalog on the website": "\u0e01\u0e32\u0e23\u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e41\u0e04\u0e15\u0e15\u0e32\u0e25\u0e47\u0e2d\u0e01\u0e2a\u0e34\u0e19\u0e04\u0e49\u0e32\u0e1a\u0e19\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c",
|
||||
"This Item Group represents \"products.html\"": "\u0e01\u0e25\u0e38\u0e48\u0e21\u0e2a\u0e34\u0e19\u0e04\u0e49\u0e32\u0e19\u0e35\u0e49\u0e2b\u0e21\u0e32\u0e22\u0e16\u0e36\u0e07 "products.html"",
|
||||
"Website": "\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c",
|
||||
"Website Product Categories": "\u0e2b\u0e21\u0e27\u0e14\u0e2b\u0e21\u0e39\u0e48\u0e2a\u0e34\u0e19\u0e04\u0e49\u0e32\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c"
|
||||
}
|
@ -1,17 +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
|
||||
|
||||
def on_update(self):
|
||||
"""clear web cache"""
|
||||
from webnotes.webutils import clear_cache
|
||||
clear_cache()
|
||||
|
||||
if self.doc.default_product_category:
|
||||
webnotes.bean("Item Group",
|
||||
self.doc.default_product_category).save()
|
@ -1,80 +0,0 @@
|
||||
[
|
||||
{
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-12-27 11:46:18",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-12-27 18:51:38"
|
||||
},
|
||||
{
|
||||
"issingle": 1,
|
||||
"description": "Settings for Product Catalog on the website",
|
||||
"doctype": "DocType",
|
||||
"module": "Website",
|
||||
"document_type": "Other",
|
||||
"name": "__common__"
|
||||
},
|
||||
{
|
||||
"name": "__common__",
|
||||
"parent": "Product Settings",
|
||||
"doctype": "DocField",
|
||||
"parenttype": "DocType",
|
||||
"permlevel": 0,
|
||||
"parentfield": "fields"
|
||||
},
|
||||
{
|
||||
"parent": "Product Settings",
|
||||
"read": 1,
|
||||
"name": "__common__",
|
||||
"create": 1,
|
||||
"doctype": "DocPerm",
|
||||
"write": 1,
|
||||
"parenttype": "DocType",
|
||||
"role": "Website Manager",
|
||||
"permlevel": 0,
|
||||
"parentfield": "permissions"
|
||||
},
|
||||
{
|
||||
"name": "Product Settings",
|
||||
"doctype": "DocType"
|
||||
},
|
||||
{
|
||||
"doctype": "DocField",
|
||||
"label": "Help",
|
||||
"fieldname": "help",
|
||||
"fieldtype": "HTML",
|
||||
"options": "<div class=\"alert\">To start adding products on the website, check \"Show in Website\" in <b>Item</b> and <b>Item Group</b></div>"
|
||||
},
|
||||
{
|
||||
"description": "This Item Group represents \"products.html\"",
|
||||
"doctype": "DocField",
|
||||
"label": "Default Product Category",
|
||||
"fieldname": "default_product_category",
|
||||
"fieldtype": "Link",
|
||||
"options": "Item Group"
|
||||
},
|
||||
{
|
||||
"description": "Default: \"Product Search\"",
|
||||
"doctype": "DocField",
|
||||
"label": "Search Help",
|
||||
"fieldname": "search_help",
|
||||
"fieldtype": "Data"
|
||||
},
|
||||
{
|
||||
"description": "List of Item Groups to be shown in \"All Products\" menu - in the sequence wanted and with number of indents (left spacing to show a tree effect).",
|
||||
"doctype": "DocField",
|
||||
"label": "Product Categories",
|
||||
"fieldname": "sb2",
|
||||
"fieldtype": "Section Break"
|
||||
},
|
||||
{
|
||||
"doctype": "DocField",
|
||||
"label": "Website Product Categories",
|
||||
"fieldname": "website_product_categories",
|
||||
"fieldtype": "Table",
|
||||
"options": "Website Product Category"
|
||||
},
|
||||
{
|
||||
"doctype": "DocPerm"
|
||||
}
|
||||
]
|
@ -1,6 +0,0 @@
|
||||
[
|
||||
"Website",
|
||||
"Product Groups that are listed on the website. The first product group from this list will be listed by default on the \"Products Page\"",
|
||||
"Groups",
|
||||
"Products Settings"
|
||||
]
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Groups": "\u0645\u062c\u0645\u0648\u0639\u0627\u062a",
|
||||
"Product Groups that are listed on the website. The first product group from this list will be listed by default on the \"Products Page\"": "\u0645\u062c\u0645\u0648\u0639\u0627\u062a \u0627\u0644\u0645\u0646\u062a\u062c\u0627\u062a \u0627\u0644\u0645\u0633\u0631\u0648\u062f\u0629 \u0639\u0644\u0649 \u0634\u0628\u0643\u0629 \u0627\u0644\u0627\u0646\u062a\u0631\u0646\u062a. \u0633\u064a\u062a\u0645 \u0633\u0631\u062f \u0645\u062c\u0645\u0648\u0639\u0629 \u0623\u0648\u0644 \u0645\u0646\u062a\u062c \u0645\u0646 \u0647\u0630\u0647 \u0627\u0644\u0642\u0627\u0626\u0645\u0629 \u0628\u0634\u0643\u0644 \u0627\u0641\u062a\u0631\u0627\u0636\u064a \u0639\u0644\u0649 "\u0635\u0641\u062d\u0629 \u0627\u0644\u0645\u0646\u062a\u062c\u0627\u062a"",
|
||||
"Products Settings": "\u0627\u0644\u0645\u0646\u062a\u062c\u0627\u062a \u0625\u0639\u062f\u0627\u062f\u0627\u062a",
|
||||
"Website": "\u0627\u0644\u0645\u0648\u0642\u0639"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Groups": "Gruppen",
|
||||
"Product Groups that are listed on the website. The first product group from this list will be listed by default on the \"Products Page\"": "Produktgruppen, die auf der Website aufgef\u00fchrt sind. Das erste Produkt aus dieser Gruppe Liste wird standardm\u00e4\u00dfig auf der \"Products Page\" aufgef\u00fchrt werden",
|
||||
"Products Settings": "Produkte Einstellungen",
|
||||
"Website": "Webseite"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Groups": "Grupos",
|
||||
"Product Groups that are listed on the website. The first product group from this list will be listed by default on the \"Products Page\"": "Categor\u00eda de producto que aparecen en el sitio web. El grupo de primer producto de esta lista se enumeran de forma predeterminada en la "P\u00e1gina de Productos"",
|
||||
"Products Settings": "Productos Settings",
|
||||
"Website": "Sitio web"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Groups": "Groupes",
|
||||
"Product Groups that are listed on the website. The first product group from this list will be listed by default on the \"Products Page\"": "Groupes de produits qui sont r\u00e9pertori\u00e9s sur le site Web. Le premier groupe de produits \u00e0 partir de cette liste seront list\u00e9s par d\u00e9faut sur la page "Produits"",
|
||||
"Products Settings": "R\u00e9glages Produits",
|
||||
"Website": "Site Web"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Groups": "\u0938\u092e\u0942\u0939",
|
||||
"Product Groups that are listed on the website. The first product group from this list will be listed by default on the \"Products Page\"": "\u0909\u0924\u094d\u092a\u093e\u0926 \u0938\u092e\u0942\u0939 \u0939\u0948 \u0915\u093f \u0935\u0947\u092c\u0938\u093e\u0907\u091f \u092a\u0930 \u0938\u0942\u091a\u0940\u092c\u0926\u094d\u0927 \u0939\u0948\u0902. \u0907\u0938 \u0938\u0942\u091a\u0940 \u092e\u0947\u0902 \u0938\u0947 \u092a\u0939\u0932\u093e \u0909\u0924\u094d\u092a\u093e\u0926 \u0938\u092e\u0942\u0939 "\u0909\u0924\u094d\u092a\u093e\u0926" \u092a\u0947\u091c \u092a\u0930 \u0921\u093f\u092b\u093c\u0949\u0932\u094d\u091f \u0930\u0942\u092a \u0938\u0947 \u0938\u0942\u091a\u0940\u092c\u0926\u094d\u0927 \u0915\u093f\u092f\u093e \u091c\u093e\u090f\u0917\u093e",
|
||||
"Products Settings": "\u0909\u0924\u094d\u092a\u093e\u0926 \u0938\u0947\u091f\u093f\u0902\u0917\u094d\u0938",
|
||||
"Website": "\u0935\u0947\u092c\u0938\u093e\u0907\u091f"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Groups": "Grupe",
|
||||
"Product Groups that are listed on the website. The first product group from this list will be listed by default on the \"Products Page\"": "Proizvod Grupe koje su navedene na web stranici. Prva grupa proizvoda iz ovog popisa \u0107e biti navedeni po defaultu na "Proizvodi stranice"",
|
||||
"Products Settings": "Proizvodi Postavke",
|
||||
"Website": "Website"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Groups": "Groepen",
|
||||
"Product Groups that are listed on the website. The first product group from this list will be listed by default on the \"Products Page\"": "Product Groepen die worden vermeld op de website. De eerste productgroep van deze lijst wordt standaard weergegeven op de "Producten Page"",
|
||||
"Products Settings": "Producten Instellingen",
|
||||
"Website": "Website"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Groups": "Grupos",
|
||||
"Product Groups that are listed on the website. The first product group from this list will be listed by default on the \"Products Page\"": "Grupos de produtos listados no site. O primeiro grupo de produtos desta lista ser\u00e3o listados por padr\u00e3o na "P\u00e1gina de Produtos"",
|
||||
"Products Settings": "Configura\u00e7\u00f5es de produtos",
|
||||
"Website": "Site"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Groups": "Grupos",
|
||||
"Product Groups that are listed on the website. The first product group from this list will be listed by default on the \"Products Page\"": "Grupos de produtos listados no site. O grupo primeiro produto desta lista ser\u00e3o listados por padr\u00e3o na "P\u00e1gina de Produtos"",
|
||||
"Products Settings": "Configura\u00e7\u00f5es de produtos",
|
||||
"Website": "Site"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Groups": "\u0413\u0440\u0443\u043f\u0435",
|
||||
"Product Groups that are listed on the website. The first product group from this list will be listed by default on the \"Products Page\"": "\u0413\u0440\u0443\u043f\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0430 \u043a\u043e\u0458\u0435 \u0441\u0443 \u043d\u0430\u0432\u0435\u0434\u0435\u043d\u0435 \u043d\u0430 \u0441\u0430\u0458\u0442\u0443. \u041f\u0440\u0432\u0430 \u0433\u0440\u0443\u043f\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0430 \u0438\u0437 \u043e\u0432\u0435 \u043b\u0438\u0441\u0442\u0435 \u045b\u0435 \u0431\u0438\u0442\u0438 \u043d\u0430\u0432\u0435\u0434\u0435\u043d \u043f\u043e\u0434\u0440\u0430\u0437\u0443\u043c\u0435\u0432\u0430\u043d\u043e \u043d\u0430 "\u041f\u0430\u0433\u0435 \u041f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438"",
|
||||
"Products Settings": "\u041f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438 \u041f\u043e\u0434\u0435\u0448\u0430\u0432\u0430\u045a\u0430",
|
||||
"Website": "\u0412\u0435\u0431\u0441\u0430\u0458\u0442"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Groups": "\u0b95\u0bc1\u0bb4\u0bc1\u0b95\u0bcd\u0b95\u0bb3\u0bcd",
|
||||
"Product Groups that are listed on the website. The first product group from this list will be listed by default on the \"Products Page\"": "\u0bb5\u0bb2\u0bc8\u0ba4\u0bcd\u0ba4\u0bb3\u0ba4\u0bcd\u0ba4\u0bbf\u0bb2\u0bcd \u0baa\u0b9f\u0bcd\u0b9f\u0bbf\u0baf\u0bb2\u0bbf\u0b9f\u0baa\u0bcd\u0baa\u0b9f\u0bcd\u0b9f\u0bc1\u0bb3\u0bcd\u0bb3\u0ba4\u0bc1 \u0b8e\u0ba9\u0bcd\u0bb1\u0bc1 \u0ba4\u0baf\u0bbe\u0bb0\u0bbf\u0baa\u0bcd\u0baa\u0bc1 \u0b95\u0bc1\u0bb4\u0bc1\u0b95\u0bcd\u0b95\u0bb3\u0bcd. \u0b87\u0ba8\u0bcd\u0ba4 \u0baa\u0b9f\u0bcd\u0b9f\u0bbf\u0baf\u0bb2\u0bbf\u0bb2\u0bcd \u0b87\u0bb0\u0bc1\u0ba8\u0bcd\u0ba4\u0bc1 \u0bae\u0bc1\u0ba4\u0bb2\u0bcd \u0ba4\u0baf\u0bbe\u0bb0\u0bbf\u0baa\u0bcd\u0baa\u0bc1 \u0b95\u0bc1\u0bb4\u0bc1 "\u0ba4\u0baf\u0bbe\u0bb0\u0bbf\u0baa\u0bcd\u0baa\u0bc1\u0b95\u0bb3\u0bcd \u0baa\u0b95\u0bcd\u0b95\u0bae\u0bcd" \u0bae\u0bc1\u0ba9\u0bcd\u0ba9\u0bbf\u0bb0\u0bc1\u0baa\u0bcd\u0baa\u0bbe\u0b95 \u0baa\u0b9f\u0bcd\u0b9f\u0bbf\u0baf\u0bb2\u0bbf\u0b9f\u0baa\u0bcd\u0baa\u0b9f\u0bcd\u0b9f\u0bc1\u0bb3\u0bcd\u0bb3",
|
||||
"Products Settings": "\u0baa\u0bc6\u0bbe\u0bb0\u0bc1\u0b9f\u0bcd\u0b95\u0bb3\u0bcd \u0b85\u0bae\u0bc8\u0baa\u0bcd\u0baa\u0bc1\u0b95\u0bb3\u0bcd",
|
||||
"Website": "\u0b87\u0ba3\u0bc8\u0baf\u0ba4\u0bb3\u0bae\u0bcd"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"Groups": "\u0e01\u0e25\u0e38\u0e48\u0e21",
|
||||
"Product Groups that are listed on the website. The first product group from this list will be listed by default on the \"Products Page\"": "\u0e01\u0e25\u0e38\u0e48\u0e21\u0e2a\u0e34\u0e19\u0e04\u0e49\u0e32\u0e17\u0e35\u0e48\u0e21\u0e35\u0e01\u0e32\u0e23\u0e23\u0e30\u0e1a\u0e38\u0e44\u0e27\u0e49\u0e1a\u0e19\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c \u0e01\u0e25\u0e38\u0e48\u0e21\u0e1c\u0e25\u0e34\u0e15\u0e20\u0e31\u0e13\u0e11\u0e4c\u0e41\u0e23\u0e01\u0e08\u0e32\u0e01\u0e23\u0e32\u0e22\u0e01\u0e32\u0e23\u0e19\u0e35\u200b\u200b\u0e49\u0e08\u0e30\u0e16\u0e39\u0e01\u0e23\u0e30\u0e1a\u0e38\u0e44\u0e27\u0e49\u0e15\u0e32\u0e21\u0e04\u0e48\u0e32\u0e40\u0e23\u0e34\u0e48\u0e21\u0e15\u0e49\u0e19\u0e17\u0e35\u0e48 "\u0e2b\u0e19\u0e49\u0e32\u0e1c\u0e25\u0e34\u0e15\u0e20\u0e31\u0e13\u0e11\u0e4c"",
|
||||
"Products Settings": "\u0e01\u0e32\u0e23\u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32\u0e1c\u0e25\u0e34\u0e15\u0e20\u0e31\u0e13\u0e11\u0e4c",
|
||||
"Website": "\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c"
|
||||
}
|
@ -1 +0,0 @@
|
||||
from __future__ import unicode_literals
|
@ -1,5 +0,0 @@
|
||||
[
|
||||
"Website",
|
||||
"Related Page",
|
||||
"Page"
|
||||
]
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"Page": "\u0635\u0641\u062d\u0629",
|
||||
"Related Page": "\u0627\u0644\u0635\u0641\u062d\u0629 \u0630\u0627\u062a \u0627\u0644\u0635\u0644\u0629",
|
||||
"Website": "\u0627\u0644\u0645\u0648\u0642\u0639"
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"Page": "Seite",
|
||||
"Related Page": "Verwandte Seite",
|
||||
"Website": "Webseite"
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"Page": "P\u00e1gina",
|
||||
"Related Page": "P\u00e1gina Relacionada",
|
||||
"Website": "Sitio web"
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"Page": "Page",
|
||||
"Related Page": "Associ\u00e9s Page",
|
||||
"Website": "Site Web"
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"Page": "\u092a\u0947\u091c",
|
||||
"Related Page": "\u0938\u0902\u092c\u0902\u0927\u093f\u0924 \u092a\u0947\u091c",
|
||||
"Website": "\u0935\u0947\u092c\u0938\u093e\u0907\u091f"
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"Page": "Stranica",
|
||||
"Related Page": "Vezani Stranica",
|
||||
"Website": "Website"
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"Page": "Pagina",
|
||||
"Related Page": "Verwante pagina",
|
||||
"Website": "Website"
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"Page": "P\u00e1gina",
|
||||
"Related Page": "P\u00e1gina Relacionada",
|
||||
"Website": "Site"
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"Page": "P\u00e1gina",
|
||||
"Related Page": "P\u00e1gina Relacionada",
|
||||
"Website": "Site"
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"Page": "\u0421\u0442\u0440\u0430\u043d\u0430",
|
||||
"Related Page": "\u0420\u0435\u043b\u0430\u0442\u0435\u0434 \u0421\u0442\u0440\u0430\u043d\u0430",
|
||||
"Website": "\u0412\u0435\u0431\u0441\u0430\u0458\u0442"
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"Page": "\u0baa\u0b95\u0bcd\u0b95\u0bae\u0bcd",
|
||||
"Related Page": "\u0ba4\u0bc6\u0bbe\u0b9f\u0bb0\u0bcd\u0baa\u0bc1\u0b9f\u0bc8\u0baf \u0baa\u0b95\u0bcd\u0b95\u0bae\u0bcd",
|
||||
"Website": "\u0b87\u0ba3\u0bc8\u0baf\u0ba4\u0bb3\u0bae\u0bcd"
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"Page": "\u0e2b\u0e19\u0e49\u0e32",
|
||||
"Related Page": "\u0e40\u0e1e\u0e08\u0e17\u0e35\u0e48\u0e40\u0e01\u0e35\u0e48\u0e22\u0e27\u0e02\u0e49\u0e2d\u0e07",
|
||||
"Website": "\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c"
|
||||
}
|
@ -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 <http://www.gnu.org/licenses/>.
|
||||
|
||||
from __future__ import unicode_literals
|
||||
import webnotes
|
||||
|
||||
class DocType:
|
||||
def __init__(self, d, dl):
|
||||
self.doc, self.doclist = d, dl
|
@ -1,34 +0,0 @@
|
||||
[
|
||||
{
|
||||
"creation": "2013-02-22 01:28:08",
|
||||
"docstatus": 0,
|
||||
"modified": "2013-03-07 07:03:30",
|
||||
"modified_by": "Administrator",
|
||||
"owner": "Administrator"
|
||||
},
|
||||
{
|
||||
"doctype": "DocType",
|
||||
"istable": 1,
|
||||
"module": "Website",
|
||||
"name": "__common__"
|
||||
},
|
||||
{
|
||||
"doctype": "DocField",
|
||||
"fieldname": "page",
|
||||
"fieldtype": "Link",
|
||||
"label": "Page",
|
||||
"name": "__common__",
|
||||
"options": "Page",
|
||||
"parent": "Related Page",
|
||||
"parentfield": "fields",
|
||||
"parenttype": "DocType",
|
||||
"permlevel": 0
|
||||
},
|
||||
{
|
||||
"doctype": "DocType",
|
||||
"name": "Related Page"
|
||||
},
|
||||
{
|
||||
"doctype": "DocField"
|
||||
}
|
||||
]
|
@ -1,27 +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 <http://www.gnu.org/licenses/>.
|
||||
|
||||
from __future__ import unicode_literals
|
||||
import webnotes
|
||||
|
||||
@webnotes.whitelist()
|
||||
def unsubscribe(arg):
|
||||
"""unsubscribe from lists"""
|
||||
lists = [['Blog Subscriber', 'name']]
|
||||
for l in lists:
|
||||
webnotes.conn.sql("""delete from `tab%s` where %s=%s""" % (l[0], l[1], '%s'), arg)
|
||||
|
||||
webnotes.msgprint('Unsubscribed!')
|
Loading…
x
Reference in New Issue
Block a user