Skip to content

Commit

Permalink
Merge PR #1670 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Feb 22, 2024
2 parents 172d578 + 31f9e9c commit e0dadf4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion partner_contact_department/models/res_partner.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ class ResPartnerDepartment(models.Model):
child_ids = fields.One2many(
"res.partner.department", "parent_id", "Child departments"
)
parent_path = fields.Char(index=True)
parent_path = fields.Char(index=True, unaccent=False)
4 changes: 2 additions & 2 deletions partner_contact_department/tests/test_recursion.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
from odoo.tests import common


class TestRecursion(common.SavepointCase):
class TestRecursion(common.TransactionCase):
@classmethod
def setUpClass(cls):
super(TestRecursion, cls).setUpClass()
super().setUpClass()
cls.department_obj = cls.env["res.partner.department"]

# Instances
Expand Down

0 comments on commit e0dadf4

Please sign in to comment.