bzr revid: fp@tinyerp.com-20081127153338-93gp1r0gixpy1wy5
This commit is contained in:
Fabien Pinckaers 2008-11-27 16:33:38 +01:00
parent abddfdeba5
commit f8618cfb19
4 changed files with 65 additions and 3 deletions

View File

@ -11,7 +11,9 @@
"depends" : ["base"],
"website" : "http://openerp.com",
"init_xml" : [],
"demo_xml" : [],
"demo_xml" : [
"data/wiki_faq.xml",
],
"update_xml" : [
"wiki_view.xml",
"data/wiki_main.xml",

View File

@ -1 +1,58 @@
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data noupdate="1">
<record id="wiki_groups_faq" model="wiki.groups">
<field name="name">Internal FAQ</field>
<field eval="2" name="section"/>
<field name="template">
== Question ==
What's the Document Management System ?
== Answer ==
== External Links ==
</field>
</record>
<record id="wiki_wiki_quickstart0" model="wiki.wiki">
<field name="name">Document Management System</field>
<field name="tags">dms, document</field>
<field name="group_id" ref="wiki_groups_faq"/>
<field name="minor_edit">0</field>
<field name="toc">1</field>
<field name="section">1</field>
<field name="summary">Initial Page</field>
<field name="text_area">
== Question ==
What's the Document Management System ?
== Answer ==
The document management system allows you to store, classify, and search your
enterprise's documents. This module (called '''document''') provides an FTP access to all your ERP's
ressources. For a dynamic and efficient classification, the folders structure
is provided by others objects. It is very usefull to track documents related
to projects, products, sales, contracts, etc.
Keypoints:
* FTP Access
* Indexation of PDF, DOC, ODT.
* Virtual files and folders
Integration Benefits:
* Stores automatically ERP reports
* Automatic classification of ressources
* Shared access rights for DMS and ERP
* Store emails with outlook Plugin
== External Links ==
* http://openerp.com
</field>
</record>
</data>
</openerp>

View File

@ -65,6 +65,7 @@ class Wiki(osv.osv):
'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 ?'),
'review': fields.boolean('Need Review')
}
def onchange_group_id(self, cr, uid, ids, group_id, content, context={}):
if (not group_id) or content:

View File

@ -78,8 +78,9 @@
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Wiki">
<field name="section"/>
<field name="name"/>
<field name="section"/>
<field name="review"/>
<field name="write_uid"/>
<field name="write_date"/>
</tree>
@ -98,10 +99,11 @@
<field name="section" select="2" invisible="not context.get('section',False)"/>
<field name="write_date" readonly="1" select="2"/>
<field name="write_uid" readonly="1" select="2"/>
<field name="tags" select="2" groups="base.group_extended"/>
<field name="review" select="1"/>
<field name="minor_edit" select="2" groups="base.group_extended"/>
<field name="toc"/>
<field name="summary" colspan="4" select="2" groups="base.group_extended"/>
<field name="tags" select="2" groups="base.group_extended"/>
</group>
<field name="text_area" nolabel="1" colspan="4" select="1" widget="text_wiki"/>
</form>