[FIX] base_vat_autocomplete: correct typo introduced by previous forward-port
This commit is contained in:
@@ -72,7 +72,7 @@ class ResPartner(models.Model):
|
||||
if len(lines) == 1:
|
||||
lines = [x.strip() for x in lines[0].split(' ') if x]
|
||||
|
||||
vals = partner._split_street_with_params(', '.join(lines.pop(0).rsplit(' ', 1)), '%(street_name)s, %(street_number)s/%(street_number2)s')
|
||||
vals = self._split_street_with_params(', '.join(lines.pop(0).rsplit(' ', 1)), '%(street_name)s, %(street_number)s/%(street_number2)s')
|
||||
partner_address.update(vals)
|
||||
|
||||
if len(lines) > 0:
|
||||
|
||||
Reference in New Issue
Block a user