2012-04-17 12:38:49 +00:00
<?xml version="1.0"?>
<openerp >
2012-11-07 16:42:54 +00:00
<data noupdate= "1" >
2012-05-09 10:14:17 +00:00
2012-07-25 09:46:45 +00:00
<!-- Create a portal member attached to a partner -->
<record id= "demo_user0" model= "res.users" >
2012-05-09 10:14:17 +00:00
<field name= "name" > Demo Portal User</field>
2012-05-21 16:37:04 +00:00
<field name= "login" > portal</field>
<field name= "password" > portal</field>
2012-07-25 09:46:45 +00:00
<!-- Avoid auto - including this user in any default group -->
2012-05-21 16:37:04 +00:00
<field name= "groups_id" eval= "[(5,)]" />
2012-09-17 13:48:32 +00:00
<field name= "supplier" eval= "False" />
<field name= "customer" eval= "True" />
<field name= "email" > demo@portal.wrong.address</field>
2012-05-16 15:12:46 +00:00
</record>
2012-07-25 09:46:45 +00:00
<!-- Add the demo user to the portal (and therefore to the portal member group) -->
2012-09-14 14:46:33 +00:00
<record id= "group_portal" model= "res.groups" >
2012-07-25 09:46:45 +00:00
<field name= "users" eval= "[(4,ref('demo_user0'))]" />
2012-05-07 15:59:53 +00:00
</record>
2012-05-14 12:18:21 +00:00
2012-07-25 10:17:38 +00:00
<!-- Company news and comments -->
<record id= "message_company_news0" model= "mail.message" >
2012-09-12 10:04:35 +00:00
<field name= "subject" > Our company's first blog-post !</field>
2012-07-25 10:17:38 +00:00
<field name= "model" > mail.group</field>
<field name= "res_id" ref= "company_news_feed" />
2012-11-07 16:42:54 +00:00
<field name= "body" > <![CDATA[<p> Hello, and welcome to our company's portal !</p>
<p > Lorem ipsum <b > sit amet</b> , consectetur <em > adipiscing elit</em> . Pellentesque et quam sapien, in sagittis tellus.
Praesent vel massa sed massa consequat egestas in tristique orci. Praesent iaculis libero et neque vehicula iaculis. Vivamus placerat tincidunt orci ac ornare. Proin ut dolor fringilla velit ultricies consequat. Maecenas sit amet ipsum non leo interdum imperdiet. Donec sapien mi.</p>
<p > Fusce tempus elit volutpat mi auctor adipiscing. Nam congue luctus suscipit. Sed tellus libero, venenatis ut mollis ut, luctus quis dui. Sed rhoncus pulvinar orci in consectetur.</p>
<p > Nulla turpis leo, rhoncus ut egestas sit amet, consectetur vitae urna. Mauris in dolor in sapien tempus vehicula.</p> ]]></field>
2012-07-25 10:17:38 +00:00
<field name= "type" > comment</field>
2012-08-21 12:00:46 +00:00
<field name= "author_id" ref= "base.partner_root" />
2012-07-25 10:17:38 +00:00
</record>
<record id= "message_company_news0_comment0" model= "mail.message" >
<field name= "model" > mail.group</field>
<field name= "res_id" ref= "company_news_feed" />
2012-11-07 16:42:54 +00:00
<field name= "body" > <![CDATA[<p>Great first blogpost!</p>]]> </field>
2012-07-25 10:17:38 +00:00
<field name= "parent_id" ref= "message_company_news0" />
<field name= "type" > comment</field>
2012-08-21 12:00:46 +00:00
<field name= "author_id" ref= "base.res_partner_1" />
2012-07-25 10:17:38 +00:00
</record>
<record id= "message_company_news0_comment1" model= "mail.message" >
<field name= "model" > mail.group</field>
<field name= "res_id" ref= "company_news_feed" />
2012-11-07 16:42:54 +00:00
<field name= "body" > <![CDATA[<p>Thanks!</p>]]> </field>
2012-07-25 10:17:38 +00:00
<field name= "parent_id" ref= "message_company_news0" />
<field name= "type" > comment</field>
2012-08-27 10:29:41 +00:00
<field name= "author_id" ref= "base.partner_demo" />
2012-05-07 15:59:53 +00:00
</record>
2012-05-14 12:18:21 +00:00
2012-04-17 12:38:49 +00:00
</data>
</openerp>