event_demo.xml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record id="event.event_0_ticket_0" model="event.event.ticket">
  4. <field name="product_id" ref="product_product_event"/>
  5. <field name="price">0</field>
  6. </record>
  7. <record id="event.event_0_ticket_1" model="event.event.ticket">
  8. <field name="product_id" ref="product_product_event_standard"/>
  9. <field name="price">1000.0</field>
  10. </record>
  11. <record id="event.event_0_ticket_2" model="event.event.ticket">
  12. <field name="product_id" ref="product_product_event_vip"/>
  13. <field name="price">1500.0</field>
  14. </record>
  15. <record id="event.event_2_ticket_1" model="event.event.ticket">
  16. <field name="product_id" ref="product_product_event_standard"/>
  17. <field name="price">1000.0</field>
  18. </record>
  19. <record id="event.event_2_ticket_2" model="event.event.ticket">
  20. <field name="product_id" ref="product_product_event_vip"/>
  21. <field name="price">1500.0</field>
  22. </record>
  23. <record id="event.event_4_ticket_0" model="event.event.ticket">
  24. <field name="product_id" ref="product_product_event_standard"/>
  25. <field name="price">99.0</field>
  26. </record>
  27. <record id="event.event_7_ticket_1" model="event.event.ticket">
  28. <field name="product_id" ref="product_product_event_standard"/>
  29. <field name="price">0.0</field>
  30. </record>
  31. <record id="event.event_7_ticket_2" model="event.event.ticket">
  32. <field name="product_id" ref="product_product_event_vip"/>
  33. <field name="price">0.0</field>
  34. </record>
  35. </odoo>