Tower: upload cetmix_tower_server 16.0.2.2.9 (via marketplace)
This commit is contained in:
129
addons/cetmix_tower_server/views/res_config_settings.xml
Normal file
129
addons/cetmix_tower_server/views/res_config_settings.xml
Normal file
@@ -0,0 +1,129 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<record id="res_config_settings_view_form" model="ir.ui.view">
|
||||
<field name="name">
|
||||
res.config.settings.view.form.inherit.cetmix.tower.settings
|
||||
</field>
|
||||
<field name="model">res.config.settings</field>
|
||||
<field name="inherit_id" ref="base.res_config_settings_view_form" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//div[hasclass('settings')]" position="inside">
|
||||
<div
|
||||
class="app_settings_block"
|
||||
data-string="cetmix_tower_server"
|
||||
string="Cetmix Tower"
|
||||
data-key="cetmix_tower_server"
|
||||
groups="cetmix_tower_server.group_root"
|
||||
>
|
||||
<h2>System Settings</h2>
|
||||
<div
|
||||
class="row mt16 o_settings_container"
|
||||
id="cetmix_tower_settings"
|
||||
>
|
||||
<div class="col-12 col-lg-6 o_setting_box">
|
||||
<div class="cetmix_tower_command_timeout">
|
||||
<label for="cetmix_tower_command_timeout" />
|
||||
<div class="text-muted">
|
||||
Command timeout in seconds after which the command will be terminated. Set to 0 to disable timeout.
|
||||
<br />
|
||||
</div>
|
||||
<div class="content-group">
|
||||
<div class="mt16">
|
||||
<field name="cetmix_tower_command_timeout" />
|
||||
</div>
|
||||
<button
|
||||
name="action_configure_zombie_commands_cron"
|
||||
string="Cron Job"
|
||||
type="object"
|
||||
class="oe_link"
|
||||
icon="fa-arrow-right"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-lg-6 o_setting_box">
|
||||
<div class="pull_files_from_server">
|
||||
<div>Pull files from server</div>
|
||||
<div class="text-muted">
|
||||
Files will be pulled from server to Tower
|
||||
automatically using cron job.
|
||||
<br />
|
||||
</div>
|
||||
<button
|
||||
name="action_configure_cron_pull_files_from_server"
|
||||
string="Cron Job"
|
||||
type="object"
|
||||
class="oe_link"
|
||||
icon="fa-arrow-right"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-lg-6 o_setting_box">
|
||||
<div class="run_scheduled_tasks">
|
||||
<div>Run scheduled tasks</div>
|
||||
<div class="text-muted">
|
||||
Scheduled tasks will be run automatically using cron job.
|
||||
<br />
|
||||
</div>
|
||||
<button
|
||||
name="action_configure_run_scheduled_tasks_cron"
|
||||
string="Cron Job"
|
||||
type="object"
|
||||
class="oe_link"
|
||||
icon="fa-arrow-right"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h2>Notifications</h2>
|
||||
<div
|
||||
class="row mt16 o_settings_container"
|
||||
id="cetmix_tower_notifications_settings"
|
||||
>
|
||||
<div class="col-12 col-lg-6 o_setting_box">
|
||||
<div class="cetmix_tower_notification_type_error">
|
||||
<label for="cetmix_tower_notification_type_error" />
|
||||
<div class="text-muted">
|
||||
Show notifications for error events. Select "Sticky" to keep the notification visible until dismissed. Leave empty to disable notifications.
|
||||
</div>
|
||||
<div class="content-group">
|
||||
<div class="mt16">
|
||||
<field
|
||||
name="cetmix_tower_notification_type_error"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-lg-6 o_setting_box">
|
||||
<div class="cetmix_tower_notification_type_success">
|
||||
<label for="cetmix_tower_notification_type_success" />
|
||||
<div class="text-muted">
|
||||
Show notifications for success events. Select "Sticky" to keep the notification visible until dismissed. Leave empty to disable notifications.
|
||||
</div>
|
||||
<div class="content-group">
|
||||
<div class="mt16">
|
||||
<field
|
||||
name="cetmix_tower_notification_type_success"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<!-- ## Action ## -->
|
||||
<record id="action_cetmix_tower_config_settings" model="ir.actions.act_window">
|
||||
<field name="name">General Settings</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">res.config.settings</field>
|
||||
<field name="view_id" ref="res_config_settings_view_form" />
|
||||
<field name="view_mode">form</field>
|
||||
<field name="target">inline</field>
|
||||
<field name="context">{'module' : 'cetmix_tower_server'}</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user