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.

33 lines
1.5 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright 2016 Grupo ESOC Ingeniería de Servicios, S.L.U. - Jairo Llopis
  3. Copyright 2016 Tecnativa - Vicent Cubells
  4. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -->
  5. <odoo noupdate="1">
  6. <!-- Match partners by VAT when is_company is True -->
  7. <record model="base_import.match" id="res_partner_vat">
  8. <field name="model_id" eval="ref('base.model_res_partner')"/>
  9. <field name="sequence" type="int">10</field>
  10. </record>
  11. <record model="base_import.match.field" id="res_partner_vat_vat">
  12. <field name="match_id" ref="base_import_match.res_partner_vat"/>
  13. <field name="field_id" ref="base.field_res_partner_vat"/>
  14. </record>
  15. <record model="base_import.match.field" id="res_partner_vat_is_company">
  16. <field name="match_id" ref="base_import_match.res_partner_vat"/>
  17. <field name="field_id" ref="base.field_res_partner_is_company"/>
  18. <field name="conditional">True</field>
  19. <field name="imported_value">True</field>
  20. </record>
  21. <!-- Match users by login -->
  22. <record model="base_import.match" id="res_users_login">
  23. <field name="model_id" eval="ref('base.model_res_users')"/>
  24. <field name="sequence" type="int">50</field>
  25. </record>
  26. <record model="base_import.match.field" id="res_users_login_login">
  27. <field name="match_id" ref="base_import_match.res_users_login"/>
  28. <field name="field_id" ref="base.field_res_users_login"/>
  29. </record>
  30. </odoo>