flectra/addons/membership/data/membership_demo.xml
flectra-admin 769eafb483 [INIT] Inception of Flectra from Odoo
Flectra is Forked from Odoo v11 commit : (6135e82d73)
2018-01-16 11:45:59 +05:30

25 lines
1.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Demo Data for Memberships -->
<record id="product.membership_0" model="product.product">
<field name="membership">True</field>
<field eval="time.strftime('%Y-01-01')" name="membership_date_from"/>
<field eval="time.strftime('%Y-12-31')" name="membership_date_to"/>
<field name="active" eval="True"/>
</record>
<record id="product.membership_1" model="product.product">
<field name="membership">True</field>
<field eval="time.strftime('%Y-01-01')" name="membership_date_from"/>
<field eval="time.strftime('%Y-12-31')" name="membership_date_to"/>
<field name="active" eval="True"/>
</record>
<record id="product.membership_2" model="product.product">
<field name="membership">True</field>
<field eval="time.strftime('%Y-01-01')" name="membership_date_from"/>
<field eval="time.strftime('%Y-12-31')" name="membership_date_to"/>
<field name="active" eval="True"/>
</record>
</odoo>