odoo_17.0.1/odoo/cli/templates/default/demo/demo.xml.template

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>