Tower: upload cetmix_tower_yaml 16.0.2.0.3 (via marketplace)

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

View File

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