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>
|
<openerp>
|
||||||
<data>
|
<data>
|
||||||
<!-- Forms -->
|
<!-- 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="name">GOLEM Member Form</field>
|
||||||
<field name="model">golem.member</field>
|
<field name="model">golem.member</field>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
@ -103,7 +103,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
</record>
|
</record>
|
||||||
|
|
||||||
<!-- Trees -->
|
<!-- 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="name">GOLEM Member Tree/List</field>
|
||||||
<field name="model">golem.member</field>
|
<field name="model">golem.member</field>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
@ -119,7 +119,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
</record>
|
</record>
|
||||||
|
|
||||||
<!-- Searches -->
|
<!-- 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="name">GOLEM Member Filters</field>
|
||||||
<field name="model">golem.member</field>
|
<field name="model">golem.member</field>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
@ -155,26 +155,26 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
</record>
|
</record>
|
||||||
|
|
||||||
<!-- Actions -->
|
<!-- Actions -->
|
||||||
<act_window id="golem_member_action"
|
<act_window id="action"
|
||||||
name="GOLEM Members"
|
name="GOLEM Members"
|
||||||
res_model="golem.member"
|
res_model="golem.member"
|
||||||
view_mode="kanban,tree,form,graph"
|
view_mode="kanban,tree,form,graph"
|
||||||
context="{'search_default_season_default': True}" />
|
context="{'search_default_season_default': True}" />
|
||||||
<record model="ir.actions.act_window.view"
|
<record model="ir.actions.act_window.view"
|
||||||
id="golem_member_view_kanban">
|
id="view_kanban">
|
||||||
<field name="view_mode">kanban</field>
|
<field name="view_mode">kanban</field>
|
||||||
<field name="view_id" ref="base.res_partner_kanban_view"/>
|
<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>
|
</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" />
|
res_model="res.partner.category" view_mode="tree,form" />
|
||||||
|
|
||||||
<!-- Menu items -->
|
<!-- Menu items -->
|
||||||
<menuitem id="golem_members_menu" name="GOLEM Members"
|
<menuitem id="golem_members_menu" name="GOLEM Members"
|
||||||
parent="membership.menu_membership" sequence="5"
|
parent="membership.menu_membership" sequence="5"
|
||||||
action="golem_member_action" />
|
action="action" />
|
||||||
<menuitem id="golem_members_menu_tags" name="Member Tags"
|
<menuitem id="golem_members_menu_tags" name="Member Tags"
|
||||||
parent="base.menu_marketing_config_association" sequence="10"
|
parent="base.menu_marketing_config_association" sequence="10"
|
||||||
action="golem_member_tags_action_list" />
|
action="tags_action_list" />
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</openerp>
|
||||||
|
@ -21,10 +21,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
<data>
|
<data>
|
||||||
|
|
||||||
<!-- Form -->
|
<!-- 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="name">Add Minor Page/Tab</field>
|
||||||
<field name="model">golem.member</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="arch" type="xml">
|
||||||
<field name="pictures_agreement" position="replace" />
|
<field name="pictures_agreement" position="replace" />
|
||||||
</field>
|
</field>
|
||||||
@ -47,10 +47,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
</record>
|
</record>
|
||||||
|
|
||||||
<!-- Search -->
|
<!-- 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="name">Add Minor/Adult filters</field>
|
||||||
<field name="model">golem.member</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="arch" type="xml">
|
||||||
<group string="Group By" position="before">
|
<group string="Group By" position="before">
|
||||||
<filter name="filter_is_minor" string="Is minor"
|
<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>
|
<openerp>
|
||||||
<data>
|
<data>
|
||||||
<!-- Form -->
|
<!-- 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="name">Add skills to Others tab</field>
|
||||||
<field name="model">golem.member</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="arch" type="xml">
|
||||||
<field name="category_id" position="before">
|
<field name="category_id" position="before">
|
||||||
<field name="is_volunteer" />
|
<field name="is_volunteer" />
|
||||||
@ -33,10 +33,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
<!-- Searches -->
|
<!-- 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="name">Add Skills Search and Filter</field>
|
||||||
<field name="model">golem.member</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="arch" type="xml">
|
||||||
<field name="email" position="after">
|
<field name="email" position="after">
|
||||||
<field name="skill_ids" widget="many2one" />
|
<field name="skill_ids" widget="many2one" />
|
||||||
@ -46,7 +46,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
<!-- Tree -->
|
<!-- 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="name">Member skills</field>
|
||||||
<field name="model">golem.member.skill</field>
|
<field name="model">golem.member.skill</field>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
@ -54,13 +54,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
<!-- Actions -->
|
<!-- 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" />
|
res_model="golem.member.skill" />
|
||||||
<!-- Menus -->
|
<!-- Menus -->
|
||||||
<menuitem id="golem_member_skill_menu_list"
|
<menuitem id="skill_menu_list"
|
||||||
name="Member skills"
|
name="Member skills"
|
||||||
parent="base.menu_marketing_config_association"
|
parent="base.menu_marketing_config_association"
|
||||||
action="golem_member_skills_action_list"
|
action="skills_action_list"
|
||||||
sequence="5" />
|
sequence="5" />
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
|
Loading…
Reference in New Issue
Block a user