13 lines
352 B
Plaintext
13 lines
352 B
Plaintext
{%- set mod= name|snake -%}
|
|
{%- set model = "%s.%s"|format(mod, mod) -%}
|
|
<odoo>
|
|
<data>
|
|
<!--{% for item in range(5) %}
|
|
<record id="object{{ item }}" model="{{ model }}">
|
|
<field name="name">Object {{ item }}</field>
|
|
<field name="value">{{ item * 10 }}</field>
|
|
</record>
|
|
{% endfor %}-->
|
|
</data>
|
|
</odoo>
|