mirror of
https://github.com/NaN-tic/trytond-galatea_cms.git
synced 2023-12-14 04:32:53 +01:00
311 lines
15 KiB
XML
311 lines
15 KiB
XML
<?xml version="1.0"?>
|
|
<!-- This file is part galatea_cms module for Tryton.
|
|
The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms. -->
|
|
<tryton>
|
|
<data>
|
|
<record model="res.group" id="group_galatea_cms">
|
|
<field name="name">Galatea CMS</field>
|
|
</record>
|
|
<record model="res.user-res.group" id="user_admin_group_galatea_cms">
|
|
<field name="user" ref="res.user_admin"/>
|
|
<field name="group" ref="group_galatea_cms"/>
|
|
</record>
|
|
|
|
<menuitem id="menu_galatea_cms" parent="galatea.menu_galatea" name="CMS"/>
|
|
<record model="ir.ui.menu-res.group" id="menu_group_galatea_cms">
|
|
<field name="menu" ref="menu_galatea_cms"/>
|
|
<field name="group" ref="group_galatea_cms"/>
|
|
</record>
|
|
<record model="ir.ui.menu-res.group" id="menu_galatea_cms_group_galatea">
|
|
<field name="menu" ref="menu_galatea_cms"/>
|
|
<field name="group" ref="galatea.group_galatea"/>
|
|
</record>
|
|
|
|
<!-- galatea.cms.menu -->
|
|
<record model="ir.ui.view" id="cms_menu_view_form">
|
|
<field name="model">galatea.cms.menu</field>
|
|
<field name="type">form</field>
|
|
<field name="name">menu_form</field>
|
|
</record>
|
|
<record model="ir.ui.view" id="cms_menu_view_tree">
|
|
<field name="model">galatea.cms.menu</field>
|
|
<field name="type">tree</field>
|
|
<field name="name">menu_list</field>
|
|
</record>
|
|
<record model="ir.ui.view" id="cms_menu_view_list">
|
|
<field name="model">galatea.cms.menu</field>
|
|
<field name="type">tree</field>
|
|
<field name="priority" eval="10"/>
|
|
<field name="field_childs">childs</field>
|
|
<field name="name">menu_tree</field>
|
|
</record>
|
|
|
|
<record model="ir.action.act_window" id="act_cms_menu_tree">
|
|
<field name="name">Menus</field>
|
|
<field name="res_model">galatea.cms.menu</field>
|
|
<field name="domain" eval="[('parent', '=', None)]" pyson="1"/>
|
|
</record>
|
|
<record model="ir.action.act_window.view" id="act_cms_menu_tree_view1">
|
|
<field name="sequence" eval="10"/>
|
|
<field name="view" ref="cms_menu_view_list"/>
|
|
<field name="act_window" ref="act_cms_menu_tree"/>
|
|
</record>
|
|
<record model="ir.action.act_window.view" id="act_cms_menu_tree_view2">
|
|
<field name="sequence" eval="20"/>
|
|
<field name="view" ref="cms_menu_view_form"/>
|
|
<field name="act_window" ref="act_cms_menu_tree"/>
|
|
</record>
|
|
<menuitem parent="menu_galatea_cms" action="act_cms_menu_tree"
|
|
id="menu_cms_menu_tree"/>
|
|
|
|
<record model="ir.action.act_window" id="act_cms_menu_form">
|
|
<field name="name">Menus</field>
|
|
<field name="res_model">galatea.cms.menu</field>
|
|
</record>
|
|
<record model="ir.action.act_window.view" id="act_cms_menu_form_view1">
|
|
<field name="sequence" eval="10"/>
|
|
<field name="view" ref="cms_menu_view_tree"/>
|
|
<field name="act_window" ref="act_cms_menu_form"/>
|
|
</record>
|
|
<record model="ir.action.act_window.view" id="act_cms_menu_form_view2">
|
|
<field name="sequence" eval="20"/>
|
|
<field name="view" ref="cms_menu_view_form"/>
|
|
<field name="act_window" ref="act_cms_menu_form"/>
|
|
</record>
|
|
<menuitem parent="menu_cms_menu_tree" action="act_cms_menu_form"
|
|
id="menu_cms_menu_form"/>
|
|
|
|
<!-- galatea.cms.article -->
|
|
<record model="ir.ui.view" id="cms_article_view_form">
|
|
<field name="model">galatea.cms.article</field>
|
|
<field name="type">form</field>
|
|
<field name="name">article_form</field>
|
|
</record>
|
|
<record model="ir.ui.view" id="cms_article_view_tree">
|
|
<field name="model">galatea.cms.article</field>
|
|
<field name="type">tree</field>
|
|
<field name="name">article_tree</field>
|
|
</record>
|
|
|
|
<record model="ir.action.act_window" id="act_cms_article_form">
|
|
<field name="name">Articles</field>
|
|
<field name="res_model">galatea.cms.article</field>
|
|
</record>
|
|
<record model="ir.action.act_window.view" id="act_cms_article_form_view1">
|
|
<field name="sequence" eval="10"/>
|
|
<field name="view" ref="cms_article_view_tree"/>
|
|
<field name="act_window" ref="act_cms_article_form"/>
|
|
</record>
|
|
<record model="ir.action.act_window.view" id="act_cms_article_form_view2">
|
|
<field name="sequence" eval="20"/>
|
|
<field name="view" ref="cms_article_view_form"/>
|
|
<field name="act_window" ref="act_cms_article_form"/>
|
|
</record>
|
|
|
|
<menuitem parent="menu_galatea_cms" action="act_cms_article_form"
|
|
id="menu_cms_article_form"/>
|
|
|
|
<!-- galatea.cms.article.block -->
|
|
<record model="ir.ui.view" id="cms_article_block_view_form">
|
|
<field name="model">galatea.cms.article.block</field>
|
|
<field name="type">form</field>
|
|
<field name="name">article_block_form</field>
|
|
</record>
|
|
<record model="ir.ui.view" id="cms_article_block_view_tree">
|
|
<field name="model">galatea.cms.article.block</field>
|
|
<field name="type">tree</field>
|
|
<field name="name">article_block_tree</field>
|
|
</record>
|
|
|
|
<!-- galatea.cms.block -->
|
|
<record model="ir.ui.view" id="cms_block_view_form">
|
|
<field name="model">galatea.cms.block</field>
|
|
<field name="type">form</field>
|
|
<field name="name">block_form</field>
|
|
</record>
|
|
<record model="ir.ui.view" id="cms_block_view_tree">
|
|
<field name="model">galatea.cms.block</field>
|
|
<field name="type">tree</field>
|
|
<field name="name">block_tree</field>
|
|
</record>
|
|
|
|
<record model="ir.action.act_window" id="act_cms_block_form">
|
|
<field name="name">Blocks</field>
|
|
<field name="res_model">galatea.cms.block</field>
|
|
</record>
|
|
<record model="ir.action.act_window.view" id="act_cms_block_form_view1">
|
|
<field name="sequence" eval="10"/>
|
|
<field name="view" ref="cms_block_view_tree"/>
|
|
<field name="act_window" ref="act_cms_block_form"/>
|
|
</record>
|
|
<record model="ir.action.act_window.view" id="act_cms_block_form_view2">
|
|
<field name="sequence" eval="20"/>
|
|
<field name="view" ref="cms_block_view_form"/>
|
|
<field name="act_window" ref="act_cms_block_form"/>
|
|
</record>
|
|
<menuitem parent="menu_galatea_cms" action="act_cms_block_form"
|
|
id="menu_cms_block_form"/>
|
|
|
|
<!-- galatea.cms.carousel -->
|
|
<record model="ir.ui.view" id="cms_carousel_view_form">
|
|
<field name="model">galatea.cms.carousel</field>
|
|
<field name="type">form</field>
|
|
<field name="name">carousel_form</field>
|
|
</record>
|
|
<record model="ir.ui.view" id="cms_carousel_view_tree">
|
|
<field name="model">galatea.cms.carousel</field>
|
|
<field name="type">tree</field>
|
|
<field name="name">carousel_tree</field>
|
|
</record>
|
|
|
|
<record model="ir.action.act_window" id="act_cms_carousel_form">
|
|
<field name="name">Carousel</field>
|
|
<field name="res_model">galatea.cms.carousel</field>
|
|
</record>
|
|
<record model="ir.action.act_window.view" id="act_cms_carousel_form_view1">
|
|
<field name="sequence" eval="10"/>
|
|
<field name="view" ref="cms_carousel_view_tree"/>
|
|
<field name="act_window" ref="act_cms_carousel_form"/>
|
|
</record>
|
|
<record model="ir.action.act_window.view" id="act_cms_carousel_form_view2">
|
|
<field name="sequence" eval="20"/>
|
|
<field name="view" ref="cms_carousel_view_form"/>
|
|
<field name="act_window" ref="act_cms_carousel_form"/>
|
|
</record>
|
|
<menuitem parent="menu_galatea_cms" action="act_cms_carousel_form"
|
|
id="menu_cms_carousel_form"/>
|
|
|
|
<!-- galatea.cms.carousel.item -->
|
|
<record model="ir.ui.view" id="cms_carousel_item_view_form">
|
|
<field name="model">galatea.cms.carousel.item</field>
|
|
<field name="type">form</field>
|
|
<field name="name">cms_carousel_item_form</field>
|
|
</record>
|
|
<record model="ir.ui.view" id="cms_carousel_item_view_tree">
|
|
<field name="model">galatea.cms.carousel.item</field>
|
|
<field name="type">tree</field>
|
|
<field name="name">cms_carousel_item_tree</field>
|
|
</record>
|
|
|
|
<!-- Access -->
|
|
<record model="ir.model.access" id="access_galatea_cms_menu_cms">
|
|
<field name="model" search="[('model', '=', 'galatea.cms.menu')]"/>
|
|
<field name="group" ref="group_galatea_cms"/>
|
|
<field name="perm_read" eval="True"/>
|
|
<field name="perm_write" eval="True"/>
|
|
<field name="perm_create" eval="True"/>
|
|
<field name="perm_delete" eval="True"/>
|
|
</record>
|
|
<record model="ir.model.access" id="access_galatea_cms_menu_galatea">
|
|
<field name="model" search="[('model', '=', 'galatea.cms.menu')]"/>
|
|
<field name="group" ref="galatea.group_galatea"/>
|
|
<field name="perm_read" eval="True"/>
|
|
<field name="perm_write" eval="False"/>
|
|
<field name="perm_create" eval="False"/>
|
|
<field name="perm_delete" eval="False"/>
|
|
</record>
|
|
<record model="ir.model.access" id="access_galatea_cms_menu">
|
|
<field name="model" search="[('model', '=', 'galatea.cms.menu')]"/>
|
|
<field name="perm_read" eval="False"/>
|
|
<field name="perm_write" eval="False"/>
|
|
<field name="perm_create" eval="False"/>
|
|
<field name="perm_delete" eval="False"/>
|
|
</record>
|
|
|
|
<record model="ir.model.access" id="access_galatea_cms_article_cms">
|
|
<field name="model" search="[('model', '=', 'galatea.cms.article')]"/>
|
|
<field name="group" ref="group_galatea_cms"/>
|
|
<field name="perm_read" eval="True"/>
|
|
<field name="perm_write" eval="True"/>
|
|
<field name="perm_create" eval="True"/>
|
|
<field name="perm_delete" eval="True"/>
|
|
</record>
|
|
<record model="ir.model.access" id="access_galatea_cms_article_galatea">
|
|
<field name="model" search="[('model', '=', 'galatea.cms.article')]"/>
|
|
<field name="group" ref="galatea.group_galatea"/>
|
|
<field name="perm_read" eval="True"/>
|
|
<field name="perm_write" eval="False"/>
|
|
<field name="perm_create" eval="False"/>
|
|
<field name="perm_delete" eval="False"/>
|
|
</record>
|
|
<record model="ir.model.access" id="access_galatea_cms_article">
|
|
<field name="model" search="[('model', '=', 'galatea.cms.article')]"/>
|
|
<field name="perm_read" eval="False"/>
|
|
<field name="perm_write" eval="False"/>
|
|
<field name="perm_create" eval="False"/>
|
|
<field name="perm_delete" eval="False"/>
|
|
</record>
|
|
|
|
<record model="ir.model.access" id="access_galatea_cms_block_cms">
|
|
<field name="model" search="[('model', '=', 'galatea.cms.block')]"/>
|
|
<field name="group" ref="group_galatea_cms"/>
|
|
<field name="perm_read" eval="True"/>
|
|
<field name="perm_write" eval="True"/>
|
|
<field name="perm_create" eval="True"/>
|
|
<field name="perm_delete" eval="True"/>
|
|
</record>
|
|
<record model="ir.model.access" id="access_galatea_cms_block_galatea">
|
|
<field name="model" search="[('model', '=', 'galatea.cms.block')]"/>
|
|
<field name="group" ref="galatea.group_galatea"/>
|
|
<field name="perm_read" eval="True"/>
|
|
<field name="perm_write" eval="False"/>
|
|
<field name="perm_create" eval="False"/>
|
|
<field name="perm_delete" eval="False"/>
|
|
</record>
|
|
<record model="ir.model.access" id="access_galatea_cms_block">
|
|
<field name="model" search="[('model', '=', 'galatea.cms.block')]"/>
|
|
<field name="perm_read" eval="False"/>
|
|
<field name="perm_write" eval="False"/>
|
|
<field name="perm_create" eval="False"/>
|
|
<field name="perm_delete" eval="False"/>
|
|
</record>
|
|
|
|
<record model="ir.model.access" id="access_galatea_cms_carousel_cms">
|
|
<field name="model" search="[('model', '=', 'galatea.cms.carousel')]"/>
|
|
<field name="group" ref="group_galatea_cms"/>
|
|
<field name="perm_read" eval="True"/>
|
|
<field name="perm_write" eval="True"/>
|
|
<field name="perm_create" eval="True"/>
|
|
<field name="perm_delete" eval="True"/>
|
|
</record>
|
|
<record model="ir.model.access" id="access_galatea_cms_carousel_galatea">
|
|
<field name="model" search="[('model', '=', 'galatea.cms.carousel')]"/>
|
|
<field name="group" ref="galatea.group_galatea"/>
|
|
<field name="perm_read" eval="True"/>
|
|
<field name="perm_write" eval="False"/>
|
|
<field name="perm_create" eval="False"/>
|
|
<field name="perm_delete" eval="False"/>
|
|
</record>
|
|
<record model="ir.model.access" id="access_galatea_cms_carousel">
|
|
<field name="model" search="[('model', '=', 'galatea.cms.carousel')]"/>
|
|
<field name="perm_read" eval="False"/>
|
|
<field name="perm_write" eval="False"/>
|
|
<field name="perm_create" eval="False"/>
|
|
<field name="perm_delete" eval="False"/>
|
|
</record>
|
|
|
|
<record model="ir.model.access" id="access_galatea_cms_carousel_item_cms">
|
|
<field name="model" search="[('model', '=', 'galatea.cms.carousel.item')]"/>
|
|
<field name="group" ref="group_galatea_cms"/>
|
|
<field name="perm_read" eval="True"/>
|
|
<field name="perm_write" eval="True"/>
|
|
<field name="perm_create" eval="True"/>
|
|
<field name="perm_delete" eval="True"/>
|
|
</record>
|
|
<record model="ir.model.access" id="access_galatea_galatea_cms_carousel_item_galatea">
|
|
<field name="model" search="[('model', '=', 'galatea.cms.carousel.item')]"/>
|
|
<field name="group" ref="galatea.group_galatea"/>
|
|
<field name="perm_read" eval="True"/>
|
|
<field name="perm_write" eval="False"/>
|
|
<field name="perm_create" eval="False"/>
|
|
<field name="perm_delete" eval="False"/>
|
|
</record>
|
|
<record model="ir.model.access" id="access_galatea_cms_carousel_item">
|
|
<field name="model" search="[('model', '=', 'galatea.cms.carousel.item')]"/>
|
|
<field name="perm_read" eval="False"/>
|
|
<field name="perm_write" eval="False"/>
|
|
<field name="perm_create" eval="False"/>
|
|
<field name="perm_delete" eval="False"/>
|
|
</record>
|
|
</data>
|
|
</tryton>
|