Files
odoo_source/addons/gift_card/data/gift_card_data.xml
T
2021-09-07 15:50:01 +00:00

24 lines
1.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<!-- the product used to deduce on sale order -->
<record id="pay_with_gift_card_product" model="product.product">
<field name="name">Gift Card</field>
<field name="list_price">0</field>
<field name="detailed_type">service</field>
<field name="purchase_ok" eval="False"/>
<field name="sale_ok" eval="False"/>
<field name="image_1920" type="base64" file="gift_card/static/img/gift_card.png"/>
</record>
<!-- the product to sell to generate gift cards automatically -->
<record id="gift_card_product_50" model="product.product">
<field name="name">Gift Card</field>
<field name="list_price">50</field>
<field name="detailed_type">gift</field>
<field name="purchase_ok" eval="False"/>
<field name="image_1920" type="base64" file="gift_card/static/img/gift_card.png"/>
</record>
</data>
</odoo>