You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
2.9 KiB
62 lines
2.9 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<!-- Represents an XML definition for a view in Odoo, specifically for a form -->
|
|
<!-- view with the ID theme_college_view_form and the model "college.location". -->
|
|
<!-- This view is used to define the layout and fields for the form when editing-->
|
|
<!-- or viewing records of the "college.location" model.-->
|
|
<record id="college_location_view_form" model="ir.ui.view">
|
|
<field name="name">college.location.view.form</field>
|
|
<field name="model">college.location</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Website college location Settings">
|
|
<sheet>
|
|
<group>
|
|
<field name="country_id"/>
|
|
<field name="description"/>
|
|
<field name="image"/>
|
|
<field name="location"/>
|
|
</group>
|
|
<group>
|
|
<field name="email"/>
|
|
<field name="phone"/>
|
|
<field name="about_us"/>
|
|
</group>
|
|
</sheet>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<!-- Represents an XML definition for a tree view in Odoo, specifically for the-->
|
|
<!-- "college.location" model. This view is used to display a list of records -->
|
|
<!-- from the "college.location" model in a tree format.-->
|
|
<record id="college_location_view_tree" model="ir.ui.view">
|
|
<field name="name">college.location.view.tree</field>
|
|
<field name="model">college.location</field>
|
|
<field name="arch" type="xml">
|
|
<tree string="College Locations">
|
|
<field name="country_id"/>
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
|
|
<!-- Represents an XML definition for an action in Odoo, specifically for the model -->
|
|
<!-- "college.location". This action is used to define the behavior when performing -->
|
|
<!-- an action related to college locations, such as opening a list of college locations.-->
|
|
<record id="college_location_action" model="ir.actions.act_window">
|
|
<field name="name">College Locations</field>
|
|
<field name="type">ir.actions.act_window</field>
|
|
<field name="res_model">college.location</field>
|
|
<field name="view_id" eval="False"/>
|
|
</record>
|
|
|
|
<!-- Represents an XML definition for a menu item in Odoo. This menu item is related -->
|
|
<!-- to the "College Locations" action and is used to create a menu entry for accessing-->
|
|
<!-- the college locations functionality within the Odoo application.-->
|
|
<menuitem name="College Locations"
|
|
id="college_location_menu_action"
|
|
action="college_location_action"
|
|
parent="website.menu_website_global_configuration"
|
|
sequence="30"
|
|
groups="base.group_user"/>
|
|
|
|
</odoo>
|
|
|