DigitalSignage/views/dss_projectstate.xml

57 lines
2.3 KiB
XML
Executable File

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="dss_projectstate_view_tree" model="ir.ui.view">
<field name="name">dss_projectstate_tree</field>
<field name="model">dss.projectstate</field>
<field name="priority" eval="16"/>
<field name="arch" type="xml">
<tree string="Projectstatus">
<field name="color" widget="color"/>
<field name="statusname"/>
<field name="typ" string="Zuordnung"/>
<field name="icon" widget="image"/>
<field name="order" widget="handle"/>
</tree>
</field>
</record>
<record id="dss_projectstate_view_form" model="ir.ui.view">
<field name="name">dss_projectstate_form</field>
<field name="model">dss.projectstate</field>
<field name="arch" type="xml">
<form>
<sheet>
<group>
<group name="basethings">
<field name="statusname" string="Statusname"/>
<field name="typ" string="Zuordnung"/>
<field name="color" string="Farbindex" widget="color"/>
<field name="icon" string="Icon" widget="image"/>
</group>
</group>
</sheet>
<div class="oe_chatter">
<field name="message_follower_ids" options="{'post_refresh':True}" help="Follow this project to automatically track the events associated to tasks and issues of this project." groups="base.group_user"/>
<field name="activity_ids"/>
<field name="message_ids"/>
</div>
</form>
</field>
</record>
<record id="action_dss_projectstate_view" model="ir.actions.act_window">
<field name="name">DigitalSignage Projectstatus</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">dss.projectstate</field>
<field name="view_mode">tree,form</field>
<field name="context">{}</field>
<field name="help" type="html">
<p class="'o_view_nocontent_smiling_face">
Neuen Projektstatus erstellen
</p>
</field>
</record>
</odoo>