data.xml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <data>
  4. <record id="gizeh_png" model="ir.attachment">
  5. <field name="name">gizeh.png</field>
  6. <field name="type">binary</field>
  7. <field name="datas" type="base64" file="test_http/static/src/img/gizeh.png"/>
  8. <field name="url">/test_http/gizeh.png</field>
  9. <field name="public">True</field>
  10. </record>
  11. <record id="gizeh_url" model="ir.attachment">
  12. <field name="name">gizeh.png</field>
  13. <field name="type">url</field>
  14. <field name="url">/test_http/static/src/img/gizeh.png</field>
  15. <field name="public">True</field>
  16. </record>
  17. <record id="rickroll" model="ir.attachment">
  18. <field name="name">rickroll</field>
  19. <field name="type">url</field>
  20. <field name="url">https://www.youtube.com/watch?v=dQw4w9WgXcQ</field>
  21. <field name="public">True</field>
  22. </record>
  23. <record id="milky_way" model="test_http.galaxy">
  24. <field name="name">Milky Way</field>
  25. </record>
  26. <record id="pegasus" model="test_http.galaxy">
  27. <field name="name">Pegasus</field>
  28. </record>
  29. <record id="earth" model="test_http.stargate">
  30. <field name="name">Earth</field>
  31. <field name="address">sq5Abt</field>
  32. <field name="galaxy_id" ref="test_http.milky_way"/>
  33. <field name="glyph_attach" type="base64" file="test_http/static/src/img/gizeh.png"/>
  34. <field name="glyph_inline" type="base64" file="test_http/static/src/img/gizeh.png"/>
  35. </record>
  36. <record id="abydos" model="test_http.stargate">
  37. <field name="name">Abydos</field>
  38. <field name="address">r7fwcu</field>
  39. <field name="galaxy_id" ref="test_http.milky_way"/>
  40. </record>
  41. <record id="dakara" model="test_http.stargate">
  42. <field name="name">Dakara</field>
  43. <field name="address">gs38x4</field>
  44. <field name="galaxy_id" ref="test_http.milky_way"/>
  45. </record>
  46. <record id="lantea" model="test_http.stargate">
  47. <field name="name">Lantea</field>
  48. <field name="address">u6iz7d</field>
  49. <field name="galaxy_id" ref="test_http.pegasus"/>
  50. <field name="has_galaxy_crystal" eval="True"/>
  51. </record>
  52. <record id="athos" model="test_http.stargate">
  53. <field name="name">Athos</field>
  54. <field name="address">mfp2rt</field>
  55. <field name="galaxy_id" ref="test_http.pegasus"/>
  56. </record>
  57. </data>
  58. </odoo>