Tower: upload cetmix_tower_yaml 16.0.2.0.3 (via marketplace)
This commit is contained in:
@@ -0,0 +1,41 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<odoo>
|
||||||
|
|
||||||
|
<record id="cx_tower_file_template_view_form" model="ir.ui.view">
|
||||||
|
<field name="name">cx.tower.file.template.yaml.view.form</field>
|
||||||
|
<field name="model">cx.tower.file.template</field>
|
||||||
|
<field
|
||||||
|
name="inherit_id"
|
||||||
|
ref="cetmix_tower_server.cx_tower_file_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_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" />
|
||||||
|
<field name="binding_view_types">list</field>
|
||||||
|
<field name="groups_id" eval="[(4, ref('cetmix_tower_yaml.group_export'))]" />
|
||||||
|
</record>
|
||||||
|
</odoo>
|
||||||
Reference in New Issue
Block a user