Tower: upload cetmix_tower_git 16.0.2.0.4 (via marketplace)

This commit is contained in:
2026-04-27 08:14:39 +00:00
parent 353350476d
commit 44d76bc4a1

View File

@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="cx_tower_plan_line_view_form" model="ir.ui.view">
<field name="name">cx.tower.plan.line.view.form</field>
<field name="model">cx.tower.plan.line</field>
<field
name="inherit_id"
ref="cetmix_tower_server.cx_tower_plan_line_view_form"
/>
<field name="arch" type="xml">
<xpath expr="//group[@name='main']" position="after">
<group attrs="{'invisible': [('file_template_id', '=', False)]}">
<field name="git_project_id" />
<field name="is_make_copy" />
</group>
<div
class="alert alert-info"
role="alert"
attrs="{'invisible': [('file_template_id', '=', False)]}"
>
<p>
You can also provide a Git Project reference using the <code
>__git_project__</code> variable in the flight plan custom values.<br
/>
Python command code example:
<code>
custom_values['__git_project__'] = 'my_git_project'
</code>
<br />
Important: if defined, this variable value overrides the Git Project selected in the form.
</p>
</div>
</xpath>
</field>
</record>
</odoo>