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.

34 lines
1.7 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <odoo>
  3. <record id="collection_addressbook" model="dav.collection">
  4. <field name="name">Addressbook</field>
  5. <field name="dav_type">addressbook</field>
  6. <field name="model_id" ref="base.model_res_partner" />
  7. <field name="domain">[]</field>
  8. </record>
  9. <record id="field_mapping_addressbook_n" model="dav.collection.field_mapping">
  10. <field name="name">N</field>
  11. <field name="field_id" ref="base.field_res_partner__name" />
  12. <field name="collection_id" ref="collection_addressbook" />
  13. </record>
  14. <record id="field_mapping_addressbook_fn" model="dav.collection.field_mapping">
  15. <field name="name">FN</field>
  16. <field name="field_id" ref="base.field_res_partner__display_name" />
  17. <field name="collection_id" ref="collection_addressbook" />
  18. </record>
  19. <record id="field_mapping_addressbook_photo" model="dav.collection.field_mapping">
  20. <field name="name">photo</field>
  21. <field name="field_id" ref="base.field_res_partner__image" />
  22. <field name="collection_id" ref="collection_addressbook" />
  23. </record>
  24. <record id="field_mapping_addressbook_email" model="dav.collection.field_mapping">
  25. <field name="name">email</field>
  26. <field name="field_id" ref="base.field_res_partner__email" />
  27. <field name="collection_id" ref="collection_addressbook" />
  28. </record>
  29. <record id="field_mapping_addressbook_tel" model="dav.collection.field_mapping">
  30. <field name="name">tel</field>
  31. <field name="field_id" ref="base.field_res_partner__phone" />
  32. <field name="collection_id" ref="collection_addressbook" />
  33. </record>
  34. </odoo>