Tower: upload cetmix_tower_yaml 16.0.2.0.3 (via marketplace)

This commit is contained in:
2026-04-27 10:44:44 +00:00
parent ebade46d0a
commit 45bacfa973

View File

@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="view_cx_tower_scheduled_task_view_form" model="ir.ui.view">
<field name="name">cx.tower.scheduled.task.view.form</field>
<field name="model">cx.tower.scheduled.task</field>
<field
name="inherit_id"
ref="cetmix_tower_server.view_cx_tower_scheduled_task_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_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" />
<field name="binding_view_types">list</field>
<field name="groups_id" eval="[(4, ref('cetmix_tower_yaml.group_export'))]" />
</record>
</odoo>