website.xml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record id="public_user_website_ip" model="res.users">
  5. <field name="name">Public User (127.0.0.1)</field>
  6. <field name="login">Public User (127.0.0.1)</field>
  7. <field name="active" eval="True" />
  8. <field name="groups_id" eval="[(6,0,[ref('base.group_public'), ref('share.group_share_user')])]" />
  9. </record>
  10. <record id="website_ip" model="website">
  11. <field name="name">127.0.0.1</field>
  12. <field name="language_ids" eval="[(6,0,[ref('base.lang_en')])]" />
  13. <field name="default_lang_id" ref="base.lang_en" />
  14. <field name="user_id" ref="public_user_website_ip" />
  15. </record>
  16. <record id="website_ip_top_menu" model="website.menu">
  17. <field name="name">Top Menu (127.0.0.1)</field>
  18. <field name="website_id" ref="website_ip" />
  19. <field name="parent_id"></field>
  20. <field name="url"></field>
  21. </record>
  22. <record id="website_ip_homepage_menu" model="website.menu">
  23. <field name="name">Homepage</field>
  24. <field name="website_id" ref="website_ip" />
  25. <field name="parent_id" ref="website_ip_top_menu" />
  26. <field name="url">/page/homepage</field>
  27. </record>
  28. <record id="website_ip_other_menu" model="website.menu">
  29. <field name="name">Other page</field>
  30. <field name="website_id" ref="website_ip" />
  31. <field name="parent_id" ref="website_ip_top_menu" />
  32. <field name="url">/page/website.other-127-0-0-1-page</field>
  33. </record>
  34. </data>
  35. </openerp>