forked from Yaltik/golem
[IMP]XMLID shortens for better comprehension
This commit is contained in:
parent
ad66de75b8
commit
3d57b255e4
@ -20,7 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
<openerp>
|
||||
<data>
|
||||
<!-- Forms -->
|
||||
<record id="golem_member_view_form" model="ir.ui.view">
|
||||
<record id="view_form" model="ir.ui.view">
|
||||
<field name="name">GOLEM Member Form</field>
|
||||
<field name="model">golem.member</field>
|
||||
<field name="arch" type="xml">
|
||||
@ -103,7 +103,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
</record>
|
||||
|
||||
<!-- Trees -->
|
||||
<record model="ir.ui.view" id="golem_member_view_tree">
|
||||
<record model="ir.ui.view" id="view_tree">
|
||||
<field name="name">GOLEM Member Tree/List</field>
|
||||
<field name="model">golem.member</field>
|
||||
<field name="arch" type="xml">
|
||||
@ -119,7 +119,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
</record>
|
||||
|
||||
<!-- Searches -->
|
||||
<record id="golem_member_view_filter" model="ir.ui.view">
|
||||
<record id="view_filter" model="ir.ui.view">
|
||||
<field name="name">GOLEM Member Filters</field>
|
||||
<field name="model">golem.member</field>
|
||||
<field name="arch" type="xml">
|
||||
@ -155,26 +155,26 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
</record>
|
||||
|
||||
<!-- Actions -->
|
||||
<act_window id="golem_member_action"
|
||||
<act_window id="action"
|
||||
name="GOLEM Members"
|
||||
res_model="golem.member"
|
||||
view_mode="kanban,tree,form,graph"
|
||||
context="{'search_default_season_default': True}" />
|
||||
<record model="ir.actions.act_window.view"
|
||||
id="golem_member_view_kanban">
|
||||
id="view_kanban">
|
||||
<field name="view_mode">kanban</field>
|
||||
<field name="view_id" ref="base.res_partner_kanban_view"/>
|
||||
<field name="act_window_id" ref="golem_member_action"/>
|
||||
<field name="act_window_id" ref="action"/>
|
||||
</record>
|
||||
<act_window id="golem_member_tags_action_list" name="GOLEM Members Tags"
|
||||
<act_window id="tags_action_list" name="GOLEM Members Tags"
|
||||
res_model="res.partner.category" view_mode="tree,form" />
|
||||
|
||||
<!-- Menu items -->
|
||||
<menuitem id="golem_members_menu" name="GOLEM Members"
|
||||
parent="membership.menu_membership" sequence="5"
|
||||
action="golem_member_action" />
|
||||
action="action" />
|
||||
<menuitem id="golem_members_menu_tags" name="Member Tags"
|
||||
parent="base.menu_marketing_config_association" sequence="10"
|
||||
action="golem_member_tags_action_list" />
|
||||
action="tags_action_list" />
|
||||
</data>
|
||||
</openerp>
|
||||
|
@ -21,10 +21,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
<data>
|
||||
|
||||
<!-- Form -->
|
||||
<record model="ir.ui.view" id="golem_member_view_add_minor">
|
||||
<record model="ir.ui.view" id="view_add_minor">
|
||||
<field name="name">Add Minor Page/Tab</field>
|
||||
<field name="model">golem.member</field>
|
||||
<field name="inherit_id" ref="golem_member.golem_member_view_form" />
|
||||
<field name="inherit_id" ref="golem_member.view_form" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="pictures_agreement" position="replace" />
|
||||
</field>
|
||||
@ -47,10 +47,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
</record>
|
||||
|
||||
<!-- Search -->
|
||||
<record model="ir.ui.view" id="golem_member_view_filter_add_minor">
|
||||
<record model="ir.ui.view" id="view_filter_add_minor">
|
||||
<field name="name">Add Minor/Adult filters</field>
|
||||
<field name="model">golem.member</field>
|
||||
<field name="inherit_id" ref="golem_member.golem_member_view_filter" />
|
||||
<field name="inherit_id" ref="golem_member.view_filter" />
|
||||
<field name="arch" type="xml">
|
||||
<group string="Group By" position="before">
|
||||
<filter name="filter_is_minor" string="Is minor"
|
||||
|
@ -20,10 +20,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
<openerp>
|
||||
<data>
|
||||
<!-- Form -->
|
||||
<record model="ir.ui.view" id="golem_member_view_add_skills">
|
||||
<record model="ir.ui.view" id="view_add_skills">
|
||||
<field name="name">Add skills to Others tab</field>
|
||||
<field name="model">golem.member</field>
|
||||
<field name="inherit_id" ref="golem_member.golem_member_view_form" />
|
||||
<field name="inherit_id" ref="golem_member.view_form" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="category_id" position="before">
|
||||
<field name="is_volunteer" />
|
||||
@ -33,10 +33,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
</field>
|
||||
</record>
|
||||
<!-- Searches -->
|
||||
<record model="ir.ui.view" id="golem_member_view_filter_add_skills">
|
||||
<record model="ir.ui.view" id="view_filter_add_skills">
|
||||
<field name="name">Add Skills Search and Filter</field>
|
||||
<field name="model">golem.member</field>
|
||||
<field name="inherit_id" ref="golem_member.golem_member_view_filter" />
|
||||
<field name="inherit_id" ref="golem_member.view_filter" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="email" position="after">
|
||||
<field name="skill_ids" widget="many2one" />
|
||||
@ -46,7 +46,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
</field>
|
||||
</record>
|
||||
<!-- Tree -->
|
||||
<record id="golem_member_skill_view_tree" model="ir.ui.view">
|
||||
<record id="skill_view_tree" model="ir.ui.view">
|
||||
<field name="name">Member skills</field>
|
||||
<field name="model">golem.member.skill</field>
|
||||
<field name="arch" type="xml">
|
||||
@ -54,13 +54,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
</field>
|
||||
</record>
|
||||
<!-- Actions -->
|
||||
<act_window id="golem_member_skills_action_list" name="GOLEM Member Skills"
|
||||
<act_window id="skills_action_list" name="GOLEM Member Skills"
|
||||
res_model="golem.member.skill" />
|
||||
<!-- Menus -->
|
||||
<menuitem id="golem_member_skill_menu_list"
|
||||
<menuitem id="skill_menu_list"
|
||||
name="Member skills"
|
||||
parent="base.menu_marketing_config_association"
|
||||
action="golem_member_skills_action_list"
|
||||
action="skills_action_list"
|
||||
sequence="5" />
|
||||
|
||||
</data>
|
||||
|
Loading…
Reference in New Issue
Block a user