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
971 B

  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 VAT when is_company is True
  6. - !record {id: res_partner_vat, model: base_import.match}:
  7. model_id: base.model_res_partner
  8. sequence: 10
  9. - !record {id: res_partner_vat_vat, model: base_import.match.field}:
  10. match_id: res_partner_vat
  11. field_id: base.field_res_partner_vat
  12. - !record {id: res_partner_vat_is_company, model: base_import.match.field}:
  13. match_id: res_partner_vat
  14. field_id: base.field_res_partner_is_company
  15. conditional: True
  16. imported_value: "True"
  17. # Match users by login
  18. - !record {id: res_users_login, model: base_import.match}:
  19. model_id: base.model_res_users
  20. sequence: 50
  21. - !record {id: res_users_login_login, model: base_import.match.field}:
  22. match_id: res_users_login
  23. field_id: base.field_res_users_login