odex30_standard/odex30_base/system_notification/views/views.xml

60 lines
2.8 KiB
XML

<odoo>
<data>
<record id="view_base_automation_form" model="ir.ui.view">
<field name="name">base.automation.inherit.view.form</field>
<field name="model">base.automation</field>
<field name="inherit_id" ref="base_automation.view_base_automation_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='model_id']" position="after">
<field name="send_notify"/>
<field name="hr_notifys"/>
</xpath>
<xpath expr="//notebook" position="inside">
<page string="System Notification" name="system_notification">
<group>
<group string="Notification Settings">
<field name="send_notify"/>
<field name="hr_notifys"/>
<field name="notify_to_groups_ids" widget="many2many_tags"/>
<field name="notify_cc_groups_ids" widget="many2many_tags"/>
<field name="notify_title"/>
<field name="notify_summary"/>
<field name="notify_note"/>
</group>
</group>
</page>
<page string="HR Notification Data" name="hr_notifications">
<group>
<group>
<field name="department_manager_notify"/>
<field name="direct_manager_notify"/>
<field name="employee_notify"/>
<field name="ceo_notify"/>
</group>
<group>
<field name="services_manager_id"/>
<field name="hr_manager_notify"/>
<field name="hr_email_notify"/>
<field name="financial_manager_id"/>
</group>
<group>
<field name="it_manager_id"/>
<field name="cyber_security_id"/>
<field name="admin_manager_id"/>
</group>
</group>
</page>
</xpath>
</field>
</record>
<menuitem name="System Notification" id="system_notification.menu_root"/>
<record id="base_automation.menu_base_automation_form" model="ir.ui.menu">
<field name="name">System Notifications</field>
<field name="parent_id" ref="system_notification.menu_root"/>
</record>
</data>
</odoo>