diff --git a/addons/product/product_view.xml b/addons/product/product_view.xml index ce879ab389f..fa9ff515aef 100644 --- a/addons/product/product_view.xml +++ b/addons/product/product_view.xml @@ -455,37 +455,83 @@ form
- + + + + + + + + + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + + diff --git a/addons/sale/sale_view.xml b/addons/sale/sale_view.xml index 52a84c6cfa7..d362ad6d664 100644 --- a/addons/sale/sale_view.xml +++ b/addons/sale/sale_view.xml @@ -108,7 +108,7 @@ - + diff --git a/addons/stock/product_view.xml b/addons/stock/product_view.xml index d1cf0f7a3ad..c82391a2df2 100644 --- a/addons/stock/product_view.xml +++ b/addons/stock/product_view.xml @@ -27,14 +27,16 @@ form - - - - - - - - + + + + + + + + + + diff --git a/addons/wiki/__terp__.py b/addons/wiki/__terp__.py index ca2fdf011e3..559a1b68b49 100644 --- a/addons/wiki/__terp__.py +++ b/addons/wiki/__terp__.py @@ -14,7 +14,8 @@ "demo_xml" : [], "update_xml" : [ "wiki_view.xml", - #"wiki_data.xml", + "data/wiki_main.xml", + "data/wiki_quickstart.xml", "wizard/wizard_view.xml", "security/ir.model.access.csv" ], diff --git a/addons/wiki/data/wiki_faq.xml b/addons/wiki/data/wiki_faq.xml new file mode 100644 index 00000000000..12bbf745ce3 --- /dev/null +++ b/addons/wiki/data/wiki_faq.xml @@ -0,0 +1 @@ + diff --git a/addons/wiki/data/wiki_help.xml b/addons/wiki/data/wiki_help.xml new file mode 100644 index 00000000000..12bbf745ce3 --- /dev/null +++ b/addons/wiki/data/wiki_help.xml @@ -0,0 +1 @@ + diff --git a/addons/wiki/data/wiki_quality.xml b/addons/wiki/data/wiki_quality.xml new file mode 100644 index 00000000000..12bbf745ce3 --- /dev/null +++ b/addons/wiki/data/wiki_quality.xml @@ -0,0 +1 @@ + diff --git a/addons/wiki/data/wiki_quickstart.xml b/addons/wiki/data/wiki_quickstart.xml new file mode 100644 index 00000000000..23b35675078 --- /dev/null +++ b/addons/wiki/data/wiki_quickstart.xml @@ -0,0 +1,124 @@ + + + + + Help + + + + + + Wiki Formatting + + + + + + + Basic Wiki Editing + help, quick start, wiki, formatting + 0 + 1 + 1.1 + Initial Page + ==Basic Wiki Editing== +You can ''italicize text'' by putting 2 +apostrophes on each side. +3 apostrophes will embolden '''the text'''. +5 apostrophes will embolden and italicize +'''''the text'''''. +(4 apostrophes don't do anything +special -- there's just ''''one left +over''''.) + +You can ''italicize text'' by putting 2 +apostrophes on each side. + +3 apostrophes will embolden '''the text'''. + +5 apostrophes will embolden and italicize +'''''the text'''''. + +(4 apostrophes don't do anything special -- there's just ''''one left over''''.) + +==Links== +===Internal=== +You give the link as same as the wiki Page Title + +Go back to Main Page : [[The Open ERP wiki]] +===External=== +You can give link to the other Web page over the Internet easily [http://google.com Visit Google] +==Attachments== +===Images=== +You can get the External links easily + +img:http://images.google.co.in/intl/en_ALL/images/images_hp.gif + +==Play with Open ERP Records== +* edit:res.partner|False|Create New Partner +* edit:res.partner|China Export|Edit China Export +* edit:res.country|India|Edit Country - India + +==Working with Attachments== +* Download File : attach:document.doc + +==Unnumbered List== +* ''Unordered lists'' are easy to do: +** Start every line with a star. +*** More stars indicate a deeper level. +*: Previous item continues. +** A new line +* in a list +marks the end of the list. +*Of course you can start again. + +==Numbered List== +# ''Numbered lists'' are: +## Very organized +## Easy to follow +#: Previous item continues +A new line marks the end of the list. +# New numbering starts with 1 + +==Text Indents== +: A colon (:) indents a line or paragraph. +A newline starts a new paragraph. +: We use 1 colon to indent once. +:: We use 2 colons to indent twice. +::: 3 colons to indent 3 times, and so on. + +==Table== +<nowiki> +{| border="1" cellspacing="0" cellpadding="5" align="left" +! Web site +! Link +! Contact Email +|- +| '''Open ERP''' - ''Belgium'' +| [http://openerp.com] +| [[ mailto:fp@tinyerp.com ]] +|} +</nowiki> + +{| border="1" cellspacing="0" cellpadding="5" align="left" +! Web site +! Link +! Contact Email +|- +| '''Open ERP''' - ''Belgium'' +| [http://openerp.com] +| [[ mailto:fp@tinyerp.com ]] +|} +<br/> +<br/> +<br/> +<br/> +==Headings== +=1st Level Heading= +==2nd Level Heading== +===3rd Level Heading=== + + + + + diff --git a/addons/wiki/wiki.py b/addons/wiki/wiki.py index c12ecb6c4ec..cb1680bcb9a 100644 --- a/addons/wiki/wiki.py +++ b/addons/wiki/wiki.py @@ -43,7 +43,7 @@ class WikiGroup(osv.osv): 'notes':fields.text("Description", select=True), 'create_date':fields.datetime("Created Date", select=True), 'template': fields.text('Wiki Template'), - 'section': fields.boolean("Make Section?") + 'section': fields.boolean("Make Section ?"), } WikiGroup() @@ -64,6 +64,7 @@ class Wiki(osv.osv): 'summary':fields.char('Summary',size=256, select=True), 'section': fields.char('Section', size=32, help="Use page section code like 1.2.1"), 'group_id':fields.many2one('wiki.groups', 'Wiki Group', select=1, ondelete='set null'), + 'toc':fields.boolean('Table of Contents ?'), } def onchange_group_id(self, cr, uid, ids, group_id, content, context={}): if (not group_id) or content: diff --git a/addons/wiki/wiki_data.xml b/addons/wiki/wiki_data.xml deleted file mode 100644 index 8e3ce35339a..00000000000 --- a/addons/wiki/wiki_data.xml +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - See also : [[Complete Help]] - ===External=== - You can give link to the other Web page over the Internet easily [http://google.com Visit Google] - ==Attachments== - ===Images=== - You can get the External links easily
- img:http://images.google.co.in/intl/en_ALL/images/images_hp.gif - - ==Headings== - =1st Level Heading= - ==2nd Level Heading== - ===3rd Level Heading=== - - ==Unnumbered List== - * ''Unordered lists'' are easy to do: - ** Start every line with a star. - *** More stars indicate a deeper level. - *: Previous item continues. - ** A new line - * in a list - marks the end of the list. - *Of course you can start again. - - ==Numbered List== - # ''Numbered lists'' are: - ## Very organized - ## Easy to follow - #: Previous item continues - A new line marks the end of the list. - # New numbering starts with 1 - - ==Text Indents== - : A colon (:) indents a line or paragraph. - A newline starts a new paragraph. - : We use 1 colon to indent once. - :: We use 2 colons to indent twice. - ::: 3 colons to indent 3 times, and so on. - - ==Table== - - {| border="1" cellspacing="0" cellpadding="5" align="left" - ! Web site - ! Link - ! Contact Email - |- - | '''Open ERP''' - ''Belgium'' - | [http://openerp.com] - | [[ mailto:fp@tinyerp.com ]] - |} - - {| border="1" cellspacing="0" cellpadding="5" align="left" - ! Web site - ! Link - ! Contact Email - |- - | '''Open ERP''' - ''Belgium'' - | [http://openerp.com] - | [[ mailto:fp@tinyerp.com ]] - |} -

]]>
- -
-
-
diff --git a/addons/wiki/wiki_view.xml b/addons/wiki/wiki_view.xml index 9d8f63cfcd0..75654567e5a 100644 --- a/addons/wiki/wiki_view.xml +++ b/addons/wiki/wiki_view.xml @@ -100,6 +100,7 @@ + @@ -129,7 +130,7 @@ - + @@ -143,9 +144,9 @@ - + - + @@ -168,7 +169,7 @@ src_model="wiki.wiki"/>