Tower: upload cetmix_tower_yaml 18.0.2.0.0 (was 18.0.2.0.0, via marketplace)
This commit is contained in:
10
addons/cetmix_tower_yaml/views/cx_tower_command_view.xml
Normal file
10
addons/cetmix_tower_yaml/views/cx_tower_command_view.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<record id="action_cx_tower_command_export_yaml" model="ir.actions.act_window">
|
||||
<field name="name">Export YAML</field>
|
||||
<field name="res_model">cx.tower.yaml.export.wiz</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="target">new</field>
|
||||
<field name="binding_model_id" ref="model_cx_tower_command" />
|
||||
</record>
|
||||
</odoo>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<record
|
||||
id="action_cx_tower_file_template_export_yaml"
|
||||
model="ir.actions.act_window"
|
||||
>
|
||||
<field name="name">Export YAML</field>
|
||||
<field name="res_model">cx.tower.yaml.export.wiz</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="target">new</field>
|
||||
<field name="binding_model_id" ref="model_cx_tower_file_template" />
|
||||
</record>
|
||||
</odoo>
|
||||
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<record id="cx_tower_jet_template_view_form" model="ir.ui.view">
|
||||
<field name="name">cx.tower.jet.template.yaml.view.form</field>
|
||||
<field name="model">cx.tower.jet.template</field>
|
||||
<field
|
||||
name="inherit_id"
|
||||
ref="cetmix_tower_server.cx_tower_jet_template_view_form"
|
||||
/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//notebook" position="inside">
|
||||
<page name="yaml" string="YAML">
|
||||
<div groups="!cetmix_tower_yaml.group_export">
|
||||
<h3
|
||||
>You must be a member of the "YAML/Export" group to export data as YAML.</h3>
|
||||
</div>
|
||||
<button
|
||||
type="object"
|
||||
groups="cetmix_tower_yaml.group_export"
|
||||
class="oe_highlight"
|
||||
name="action_open_yaml_export_wizard"
|
||||
string="Export YAML"
|
||||
/>
|
||||
</page>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
<record id="action_cx_tower_jet_template_export_yaml" model="ir.actions.act_window">
|
||||
<field name="name">Export YAML</field>
|
||||
<field name="res_model">cx.tower.yaml.export.wiz</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="target">new</field>
|
||||
<field name="binding_model_id" ref="model_cx_tower_jet_template" />
|
||||
<field name="binding_view_types">list</field>
|
||||
<field name="groups_id" eval="[(4, ref('cetmix_tower_yaml.group_export'))]" />
|
||||
</record>
|
||||
</odoo>
|
||||
10
addons/cetmix_tower_yaml/views/cx_tower_key_view.xml
Normal file
10
addons/cetmix_tower_yaml/views/cx_tower_key_view.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<record id="action_cx_tower_key_export_yaml" model="ir.actions.act_window">
|
||||
<field name="name">Export YAML</field>
|
||||
<field name="res_model">cx.tower.yaml.export.wiz</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="target">new</field>
|
||||
<field name="binding_model_id" ref="model_cx_tower_key" />
|
||||
</record>
|
||||
</odoo>
|
||||
10
addons/cetmix_tower_yaml/views/cx_tower_os_view.xml
Normal file
10
addons/cetmix_tower_yaml/views/cx_tower_os_view.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<record id="action_cx_tower_os_export_yaml" model="ir.actions.act_window">
|
||||
<field name="name">Export YAML</field>
|
||||
<field name="res_model">cx.tower.yaml.export.wiz</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="target">new</field>
|
||||
<field name="binding_model_id" ref="model_cx_tower_os" />
|
||||
</record>
|
||||
</odoo>
|
||||
10
addons/cetmix_tower_yaml/views/cx_tower_plan_view.xml
Normal file
10
addons/cetmix_tower_yaml/views/cx_tower_plan_view.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<record id="action_cx_tower_plan_export_yaml" model="ir.actions.act_window">
|
||||
<field name="name">Export YAML</field>
|
||||
<field name="res_model">cx.tower.yaml.export.wiz</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="target">new</field>
|
||||
<field name="binding_model_id" ref="model_cx_tower_plan" />
|
||||
</record>
|
||||
</odoo>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<record
|
||||
id="action_cx_tower_scheduled_task_export_yaml"
|
||||
model="ir.actions.act_window"
|
||||
>
|
||||
<field name="name">Export YAML</field>
|
||||
<field name="res_model">cx.tower.yaml.export.wiz</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="target">new</field>
|
||||
<field name="binding_model_id" ref="model_cx_tower_scheduled_task" />
|
||||
</record>
|
||||
</odoo>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<record
|
||||
id="action_cx_tower_server_template_export_yaml"
|
||||
model="ir.actions.act_window"
|
||||
>
|
||||
<field name="name">Export YAML</field>
|
||||
<field name="res_model">cx.tower.yaml.export.wiz</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="target">new</field>
|
||||
<field name="binding_model_id" ref="model_cx_tower_server_template" />
|
||||
</record>
|
||||
</odoo>
|
||||
10
addons/cetmix_tower_yaml/views/cx_tower_server_view.xml
Normal file
10
addons/cetmix_tower_yaml/views/cx_tower_server_view.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<record id="action_cx_tower_server_export_yaml" model="ir.actions.act_window">
|
||||
<field name="name">Export YAML</field>
|
||||
<field name="res_model">cx.tower.yaml.export.wiz</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="target">new</field>
|
||||
<field name="binding_model_id" ref="model_cx_tower_server" />
|
||||
</record>
|
||||
</odoo>
|
||||
10
addons/cetmix_tower_yaml/views/cx_tower_shortcut_view.xml
Normal file
10
addons/cetmix_tower_yaml/views/cx_tower_shortcut_view.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<record id="action_cx_tower_shortcut_export_yaml" model="ir.actions.act_window">
|
||||
<field name="name">Export YAML</field>
|
||||
<field name="res_model">cx.tower.yaml.export.wiz</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="target">new</field>
|
||||
<field name="binding_model_id" ref="model_cx_tower_shortcut" />
|
||||
</record>
|
||||
</odoo>
|
||||
10
addons/cetmix_tower_yaml/views/cx_tower_tag_view.xml
Normal file
10
addons/cetmix_tower_yaml/views/cx_tower_tag_view.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<record id="action_cx_tower_tag_export_yaml" model="ir.actions.act_window">
|
||||
<field name="name">Export YAML</field>
|
||||
<field name="res_model">cx.tower.yaml.export.wiz</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="target">new</field>
|
||||
<field name="binding_model_id" ref="model_cx_tower_tag" />
|
||||
</record>
|
||||
</odoo>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<record
|
||||
id="action_cx_tower_variable_value_export_yaml"
|
||||
model="ir.actions.act_window"
|
||||
>
|
||||
<field name="name">Export YAML</field>
|
||||
<field name="res_model">cx.tower.yaml.export.wiz</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="target">new</field>
|
||||
<field name="binding_model_id" ref="model_cx_tower_variable_value" />
|
||||
</record>
|
||||
</odoo>
|
||||
10
addons/cetmix_tower_yaml/views/cx_tower_variable_view.xml
Normal file
10
addons/cetmix_tower_yaml/views/cx_tower_variable_view.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<record id="action_cx_tower_variable_export_yaml" model="ir.actions.act_window">
|
||||
<field name="name">Export YAML</field>
|
||||
<field name="res_model">cx.tower.yaml.export.wiz</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="target">new</field>
|
||||
<field name="binding_model_id" ref="model_cx_tower_variable" />
|
||||
</record>
|
||||
</odoo>
|
||||
@@ -0,0 +1,41 @@
|
||||
<odoo>
|
||||
<record id="view_yaml_manifest_author_tree" model="ir.ui.view">
|
||||
<field name="name">yaml.manifest.author.list</field>
|
||||
<field name="model">cx.tower.yaml.manifest.author</field>
|
||||
<field name="arch" type="xml">
|
||||
<list>
|
||||
<field name="name" />
|
||||
</list>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_yaml_manifest_author_form" model="ir.ui.view">
|
||||
<field name="name">yaml.manifest.author.form</field>
|
||||
<field name="model">cx.tower.yaml.manifest.author</field>
|
||||
<field name="arch" type="xml">
|
||||
<form>
|
||||
<sheet>
|
||||
<group>
|
||||
<field name="name" />
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_yaml_manifest_author" model="ir.actions.act_window">
|
||||
<field name="name">YAML Manifest Authors</field>
|
||||
<field name="res_model">cx.tower.yaml.manifest.author</field>
|
||||
<field name="path">cetmix_tower_yaml_manifest_authors</field>
|
||||
<field name="view_mode">list,form</field>
|
||||
<field name="target">current</field>
|
||||
<field name="help" type="html">
|
||||
<p class="o_view_nocontent_smiling_face">
|
||||
Create your first YAML manifest author!
|
||||
</p>
|
||||
<p>
|
||||
YAML manifest authors represent organizations or users who are authors of YAML manifests.
|
||||
</p>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
@@ -0,0 +1,54 @@
|
||||
<odoo>
|
||||
<record id="view_yaml_manifest_template_tree" model="ir.ui.view">
|
||||
<field name="name">cx.tower.yaml.manifest.tmpl.list</field>
|
||||
<field name="model">cx.tower.yaml.manifest.tmpl</field>
|
||||
<field name="arch" type="xml">
|
||||
<list>
|
||||
<field name="name" />
|
||||
<field name="file_prefix" />
|
||||
<field name="author_ids" widget="many2many_tags" />
|
||||
<field name="version" />
|
||||
<field name="website" />
|
||||
<field name="license" />
|
||||
<field name="currency" />
|
||||
</list>
|
||||
</field>
|
||||
</record>
|
||||
<record id="view_yaml_manifest_template_form" model="ir.ui.view">
|
||||
<field name="name">cx.tower.yaml.manifest.tmpl.form</field>
|
||||
<field name="model">cx.tower.yaml.manifest.tmpl</field>
|
||||
<field name="arch" type="xml">
|
||||
<form>
|
||||
<sheet>
|
||||
<group>
|
||||
<field name="name" />
|
||||
<field name="file_prefix" />
|
||||
<field name="author_ids" widget="many2many_tags" />
|
||||
<field name="version" />
|
||||
<field name="website" />
|
||||
<field name="license" />
|
||||
<field name="license_text" invisible="license != 'custom'" />
|
||||
<field name="currency" invisible="license != 'custom'" />
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
<record id="action_yaml_manifest_template" model="ir.actions.act_window">
|
||||
<field name="name">YAML Manifest Templates</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">cx.tower.yaml.manifest.tmpl</field>
|
||||
<field name="path">cetmix_tower_yaml_manifest_templates</field>
|
||||
<field name="view_mode">list,form</field>
|
||||
<field name="view_id" ref="view_yaml_manifest_template_tree" />
|
||||
<field name="target">current</field>
|
||||
<field name="help" type="html">
|
||||
<p class="o_view_nocontent_smiling_face">
|
||||
Create your first YAML manifest template!
|
||||
</p>
|
||||
<p>
|
||||
YAML manifest templates represent pre-defined YAML manifests with their metadata and configuration.
|
||||
</p>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
33
addons/cetmix_tower_yaml/views/menuitems.xml
Normal file
33
addons/cetmix_tower_yaml/views/menuitems.xml
Normal file
@@ -0,0 +1,33 @@
|
||||
<odoo>
|
||||
<!-- Import YAML -> Tools -->
|
||||
<menuitem
|
||||
id="menu_cetmix_tower_yaml_import"
|
||||
name="Import YAML"
|
||||
parent="cetmix_tower_server.menu_tools"
|
||||
sequence="10"
|
||||
groups="group_import"
|
||||
action="action_cx_tower_yaml_import_wiz_upload"
|
||||
/>
|
||||
|
||||
<!-- YAML Manifest Settings -> Settings -->
|
||||
<menuitem
|
||||
id="menu_yaml_settings_root"
|
||||
name="YAML Export/Import"
|
||||
parent="cetmix_tower_server.menu_settings"
|
||||
sequence="60"
|
||||
/>
|
||||
<menuitem
|
||||
id="menu_yaml_manifest_author_action"
|
||||
name="Manifest Authors"
|
||||
parent="menu_yaml_settings_root"
|
||||
action="action_yaml_manifest_author"
|
||||
sequence="1"
|
||||
/>
|
||||
<menuitem
|
||||
id="menu_yaml_manifest_template"
|
||||
name="Manifest Templates"
|
||||
parent="menu_yaml_settings_root"
|
||||
action="action_yaml_manifest_template"
|
||||
sequence="2"
|
||||
/>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user