add some date files

bzr revid: mga@tinyerp.com-20081127150833-bh8nphd7poopkb69
This commit is contained in:
Mantavya Gajjar
2008-11-27 20:38:33 +05:30
parent 27f786211a
commit 1a0cc78b59
7 changed files with 44 additions and 25 deletions
+2 -1
View File
@@ -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"
],
+1
View File
@@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8"?>
+1
View File
@@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8"?>
+1
View File
@@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8"?>
@@ -2,25 +2,26 @@
<openerp>
<data>
<record id="wiki_groups_help0" model="wiki.groups">
<field eval="&quot;&quot;&quot;Help&quot;&quot;&quot;" name="name"/>
<field name="name">Help</field>
<field eval="1" name="section"/>
</record>
</data>
<data>
<record id="wiki_groups_wikiformatting0" model="wiki.groups">
<field eval="&quot;&quot;&quot;Wiki Formatting&quot;&quot;&quot;" name="name"/>
<field name="name">Wiki Formatting</field>
<field name="parent_id" ref="wiki_groups_help0"/>
<field eval="1" name="section"/>
</record>
</data>
<data>
<record id="wiki_wiki_quickstart0" model="wiki.wiki">
<field eval="&quot;&quot;&quot;Quick Start&quot;&quot;&quot;" name="name"/>
<field eval="&quot;&quot;&quot;help, quick start, wiki, formatting&quot;&quot;&quot;" name="tags"/>
<field eval="0" name="minor_edit"/>
<field eval="&quot;&quot;&quot;1&quot;&quot;&quot;" name="section"/>
<field eval="&quot;&quot;&quot;quick start help for the wiki formating&quot;&quot;&quot;" name="summary"/>
<field name="text_area">==Basic Fromatting==
<field name="name">Basic Wiki Editing</field>
<field name="tags">help, quick start, wiki, formatting</field>
<field name="minor_edit">0</field>
<field name="toc">1</field>
<field name="section">1.1</field>
<field name="summary">Initial Page</field>
<field name="text_area">==Basic Wiki Editing==
You can ''italicize text'' by putting 2
apostrophes on each side.
3 apostrophes will embolden '''the text'''.
@@ -43,19 +44,23 @@ apostrophes on each side.
==Links==
===Internal===
You give the link as same as the wiki Page Title
<br/>
See also : [[Complete Help]]
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 <br/>
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===
==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:
@@ -83,7 +88,7 @@ A newline starts a new paragraph.
::: 3 colons to indent 3 times, and so on.
==Table==
<nowiki>
&lt;nowiki&gt;
{| border="1" cellspacing="0" cellpadding="5" align="left"
! Web site
! Link
@@ -93,7 +98,8 @@ A newline starts a new paragraph.
| [http://openerp.com]
| [[ mailto:fp@tinyerp.com ]]
|}
</nowiki>
&lt;/nowiki&gt;
{| border="1" cellspacing="0" cellpadding="5" align="left"
! Web site
! Link
@@ -103,8 +109,15 @@ A newline starts a new paragraph.
| [http://openerp.com]
| [[ mailto:fp@tinyerp.com ]]
|}
<br/><br/>]]&gt;
</field>
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
==Headings==
=1st Level Heading=
==2nd Level Heading==
===3rd Level Heading===
</field>
<field name="group_id" ref="wiki_groups_wikiformatting0"/>
</record>
</data>
+2 -1
View File
@@ -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:
+5 -4
View File
@@ -100,6 +100,7 @@
<field name="write_uid" readonly="1" select="2"/>
<field name="tags" select="2" groups="base.group_extended"/>
<field name="minor_edit" select="2" groups="base.group_extended"/>
<field name="toc"/>
<field name="summary" colspan="4" select="2" groups="base.group_extended"/>
</group>
<field name="text_area" nolabel="1" colspan="4" select="1" widget="text_wiki"/>
@@ -129,7 +130,7 @@
<tree srting="Wiki History">
<field name="create_date"/>
<field name="write_uid"/>
<field name="minor_edit"/>
<field name="minor_edit" groups="base.group_extended"/>
<field name="summary"/>
</tree>
</field>
@@ -143,9 +144,9 @@
<form srting="Wiki History">
<field name="wiki_id" select="1" colspan="4"/>
<field name="summary" select="1" colspan="4"/>
<field name="text_area" select="1" colspan="4" widget="text_wiki"/>
<field name="text_area" select="1" colspan="4" nolabel="1" widget="text_wiki"/>
<field name="create_date" select="1"/>
<field name="minor_edit" select="1"/>
<field name="minor_edit" select="1" groups="base.group_extended"/>
</form>
</field>
</record>
@@ -168,7 +169,7 @@
src_model="wiki.wiki"/>
<act_window
domain="[('group_id', '=', active_id)]"
domain="[('group_id', 'child_of', active_ids)]"
id="act_wiki_group_open"
name="Wiki Pages"
res_model="wiki.wiki"