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.

12 lines
363 B

  1. # -*- coding: utf-8 -*-
  2. # Copyright 2019 Therp BV <https://therp.nl>.
  3. # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
  4. # pylint: disable=missing-docstring,unused-argument,invalid-name
  5. def migrate(cr, version):
  6. cr.execute(
  7. "UPDATE res_partner_relation_type"
  8. " SET is_symmetric = False"
  9. " WHERE is_symmetric IS NULL")