Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
Clément committed Aug 27, 2024
1 parent 5dda2fe commit 4851fd9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions partner_auto_match/models/res_partner_match.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def update_partner(self, partner, vals, async_mode=True, delay=1):
@api.model
def _preprocess_vals(self, vals):
"""Transform, if needed and before matching, the infos received"""
vals["name"] = vals["name"].strip(' -')
vals["name"] = vals["name"].strip(" -")

@api.model
def _process_update_vals(self, partner, vals):
Expand Down Expand Up @@ -186,4 +186,3 @@ def _get_valid_update_fields(self):
"lang",
"title",
]

0 comments on commit 4851fd9

Please sign in to comment.