Skip to content

Commit

Permalink
[IMP] autoremove points in VAT numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
victor-champonnois committed Mar 1, 2024
1 parent d801614 commit 30105aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion l10n_be_vat_reports/wizard/partner_vat_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def get_partners(self):
}
self.env.cr.execute(query, args)
for seq, record in enumerate(self.env.cr.dictfetchall(), start=1):
record["vat"] = record["vat"].replace(" ", "").upper()
record["vat"] = record["vat"].replace(" ", "").replace(".", "").upper()
record["seq"] = seq
partners |= partner_vat_list_client_model.create(record)

Expand Down

0 comments on commit 30105aa

Please sign in to comment.