Files
sublime-tryton-snippets/xml_record_tree.sublime-snippet
2023-01-20 15:25:20 +01:00

15 lines
568 B
XML

<snippet>
<content><![CDATA[
<record model="ir.ui.view" id="${1:model_id}_view_tree">
<field name="model">${2:model.name}</field>
<field name="type">tree</field>
<field name="field_childs">${3:childs}</field>
<field name="name">$1_tree</field>
</record>
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>tryton_record_tree</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>text.xml</scope>
<description>Tryton: Record for Tree View</description>
</snippet>