mirror of
https://github.com/odoo/runbot.git
synced 2025-04-04 09:11:00 +07:00
85 lines
3.0 KiB
XML
85 lines
3.0 KiB
XML
<odoo>
|
|
<data>
|
|
<record id="dockerfile_form" model="ir.ui.view">
|
|
<field name="name">runbot.dockerfile.form</field>
|
|
<field name="model">runbot.dockerfile</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Dockerfile">
|
|
<sheet>
|
|
<widget name="web_ribbon" title="Empty" bg_color="bg-warning" attrs="{'invisible': [('dockerfile', '!=', '')]}"/>
|
|
<group>
|
|
<field name="name"/>
|
|
<field name="image_tag"/>
|
|
<field name="to_build"/>
|
|
<field name="version_ids" widget="many2many_tags"/>
|
|
<field name="template_id"/>
|
|
</group>
|
|
<group>
|
|
<field name="description"/>
|
|
</group>
|
|
<notebook>
|
|
<page string="Template">
|
|
<field name="arch_base" widget="ace" options="{'mode': 'xml'}" readonly="0"/>
|
|
</page>
|
|
<page string="Dockerfile">
|
|
<field name="dockerfile"/>
|
|
</page>
|
|
<page string="Views">
|
|
<field name="view_ids" widget="one2many">
|
|
<tree>
|
|
<field name="id"/>
|
|
<field name="key"/>
|
|
</tree>
|
|
</field>
|
|
</page>
|
|
<page string="Bundles">
|
|
<field name="bundle_ids" widget="one2many">
|
|
<tree>
|
|
<field name="project_id"/>
|
|
<field name="name"/>
|
|
</tree>
|
|
</field>
|
|
</page>
|
|
</notebook>
|
|
</sheet>
|
|
<div class="oe_chatter">
|
|
<field name="message_follower_ids" widget="mail_followers"/>
|
|
<field name="message_ids" widget="mail_thread"/>
|
|
</div>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="dockerfile_view_tree" model="ir.ui.view">
|
|
<field name="name">runbot.dockerfile.tree</field>
|
|
<field name="model">runbot.dockerfile</field>
|
|
<field name="arch" type="xml">
|
|
<tree string="Dockerfile" decoration-danger="dockerfile == ''" decoration-warning="to_build == False">
|
|
<field name="name"/>
|
|
<field name="image_tag"/>
|
|
<field name="to_build"/>
|
|
<field name="version_ids" widget="many2many_tags"/>
|
|
<field name="bundle_ids"/>
|
|
<field name="dockerfile" invisible="True"/>
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="open_view_dockerfile_tree" model="ir.actions.act_window">
|
|
<field name="name">Dockerfiles</field>
|
|
<field name="res_model">runbot.dockerfile</field>
|
|
<field name="view_mode">tree,form</field>
|
|
</record>
|
|
|
|
<menuitem
|
|
id="menu_docker"
|
|
name="Docker"
|
|
parent="runbot_menu_root"
|
|
sequence="34"
|
|
/>
|
|
|
|
<menuitem id="menu_dockerfile" name="Dockerfiles" parent="menu_docker" action="open_view_dockerfile_tree" sequence="10"/>
|
|
|
|
</data>
|
|
</odoo>
|