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.

40 lines
1.5 KiB

  1. # -*- coding: utf-8 -*-
  2. # © 2016 Grupo ESOC Ingeniería de Servicios, S.L.U. - Jairo Llopis
  3. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
  4. - !context {noupdate: True}
  5. # Match partners by name, parent_id and is_company
  6. - !record {id: res_partner_parent_name_is_company, model: base_import.match}:
  7. model_id: base.model_res_partner
  8. sequence: 20
  9. - !record {id: res_partner_parent_name_is_company_name, model: base_import.match.field}:
  10. match_id: res_partner_parent_name_is_company
  11. field_id: base.field_res_partner_name
  12. - !record {id: res_partner_parent_name_is_company_parent, model: base_import.match.field}:
  13. match_id: res_partner_parent_name_is_company
  14. field_id: base.field_res_partner_parent_id
  15. - !record {id: res_partner_parent_name_is_company_is_company, model: base_import.match.field}:
  16. match_id: res_partner_parent_name_is_company
  17. field_id: base.field_res_partner_is_company
  18. # Match partner by email
  19. - !record {id: res_partner_email, model: base_import.match}:
  20. model_id: base.model_res_partner
  21. sequence: 30
  22. - !record {id: res_partner_email_email, model: base_import.match.field}:
  23. match_id: res_partner_email
  24. field_id: base.field_res_partner_email
  25. # Match partner by name
  26. - !record {id: res_partner_name, model: base_import.match}:
  27. model_id: base.model_res_partner
  28. sequence: 40
  29. - !record {id: res_partner_name_name, model: base_import.match.field}:
  30. match_id: res_partner_name
  31. field_id: base.field_res_partner_name