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.
43 lines
1.4 KiB
43 lines
1.4 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data>
|
|
|
|
<record id="repository_view_form" model="ir.ui.view">
|
|
<field name="model">galicea_git.repository</field>
|
|
<field name="arch" type="xml">
|
|
<form>
|
|
<group>
|
|
<field name="state" invisible="1" />
|
|
<field name="name" />
|
|
<field name="system_name" groups="galicea_git.group_admin" />
|
|
<field name="collaborator_ids" widget="many2many_tags" options="{'no_create': True}" />
|
|
</group>
|
|
<group class="oe_read_only">
|
|
<label for="url" />
|
|
<span style="font-family: monospace">git clone <field name="url" nolabel="True" /></span>
|
|
<field name="local_directory" style="font-family: monospace" />
|
|
</group>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="repository_view_tree" model="ir.ui.view">
|
|
<field name="model">galicea_git.repository</field>
|
|
<field name="arch" type="xml">
|
|
<tree>
|
|
<field name="state" invisible="1" />
|
|
<field name="name" />
|
|
<field name="system_name" groups="galicea_git.group_admin" />
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
|
|
<act_window id="repository_action"
|
|
name="Git repositories"
|
|
res_model="galicea_git.repository" />
|
|
|
|
<menuitem name="Repositories" id="repo_menu" parent="galicea_base.galicea_admin_menu"
|
|
action="repository_action" sequence="1" />
|
|
|
|
</data>
|
|
</odoo>
|