res_config_settings.xml 4.08 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <data>
        <record model="ir.ui.view" id="helpdesk_config_settings_inherit_maintenance">
            <field name="name">res.config.settings.inherit.maintenance</field>
            <field name="model">res.config.settings</field>
            <field name="inherit_id" ref="sh_all_in_one_helpdesk.helpdesk_config_setting_view"/>
            <field name="arch" type="xml">
                <xpath expr="//div[@id='ticket_settings']" position="after">
                    <div id="attention_maintenance">
                        <h2>Tiempos de Atención Mantenimiento</h2>
                        <div class="row o_settings_container">
                            <div class="col-6 o_setting_box">
                                <div class="o_setting_right_pane">
                                    <label for="time_simple_alert_maintenance" />
                                    <br />
                                    <field name="time_simple_alert_maintenance" class="oe_inline" widget="float_time"/>
                                </div>
                                <div class="o_setting_left_pane"></div>
                            </div>
                            <div class="col-6 o_setting_box">
                                <div class="o_setting_right_pane">
                                    <label for="color_simple_alert_maintenance" />
                                    <br />
                                    <field name="color_simple_alert_maintenance" class="oe_inline" widget="color_picker"/>
                                </div>
                                <div class="o_setting_left_pane"></div>
                            </div>
                            
                        </div>
                        <div class="row o_settings_container">
                            <div class="col-6 o_setting_box">
                                <div class="o_setting_right_pane">
                                    <label for="time_medium_alert_maintenance" />
                                    <br />
                                    <field name="time_medium_alert_maintenance" class="oe_inline" widget="float_time"/>
                                </div>
                                <div class="o_setting_left_pane"></div>
                            </div>
                            <div class="col-6 o_setting_box">
                                <div class="o_setting_right_pane">
                                    <label for="color_medium_alert_maintenance" />
                                    <br />
                                    <field name="color_medium_alert_maintenance" class="oe_inline" widget="color_picker"/>
                                </div>
                                <div class="o_setting_left_pane"></div>
                            </div>
                        </div>
                        <div class="row o_settings_container">
                            <div class="col-6 o_setting_box">
                                <div class="o_setting_right_pane">
                                    <label for="time_extreme_alert_maintenance" />
                                    <br />
                                    <field name="time_extreme_alert_maintenance" class="oe_inline" widget="float_time"/>
                                </div>
                                <div class="o_setting_left_pane"></div>
                            </div>
                            <div class="col-6 o_setting_box">
                                <div class="o_setting_right_pane">
                                    <label for="color_extreme_alert_maintenance" />
                                    <br />
                                    <field name="color_extreme_alert_maintenance" class="oe_inline" widget="color_picker"/>
                                </div>
                                <div class="o_setting_left_pane"></div>
                            </div>
                        </div>
                    </div>
                </xpath>
            </field>
        </record>
    </data>
</odoo>