You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1.0 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record id="partner_list_xlsx_template" model="xlsx.template">
  4. <field name="res_model">report.partner.list</field>
  5. <field name="fname">partner_list.xlsx</field>
  6. <field name="name">Partner List Report Template</field>
  7. <field name="description">Sample Partner List Report Template for testing</field>
  8. <field name="input_instruction">
  9. {
  10. '__EXPORT__': {
  11. 1: {
  12. 'results': {
  13. 'A4': 'id',
  14. 'B4': 'name${value or ""}#{style=text}',
  15. 'C4': 'phone${value or ""}#{style=text}',
  16. 'D4': 'email${value or ""}#{style=text}',
  17. }
  18. }
  19. },
  20. }
  21. </field>
  22. </record>
  23. <function model="xlsx.template" name="load_xlsx_template">
  24. <value eval="[ref('partner_list_xlsx_template')]"/>
  25. </function>
  26. </odoo>