Skip to content

Commit

Permalink
[FIX] account_move_name_sequence: return sequence names do not add a …
Browse files Browse the repository at this point in the history
…space between name and returns.
  • Loading branch information
RodrigoBM authored and andreagidaltig committed Oct 9, 2023
1 parent 79d894a commit 8c64b5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion account_move_name_sequence/models/account_journal.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def _prepare_sequence(self, vals, refund=False):
prefix = "%s%s/%%(range_year)s/" % (refund and "R" or "", code)
seq_vals = {
"name": "%s%s"
% (vals.get("name", _("Sequence")), refund and _("Refund") + " " or ""),
% (vals.get("name", _("Sequence")), refund and " " + _("Refund") or ""),
"company_id": vals.get("company_id") or self.env.company.id,
"implementation": "no_gap",
"prefix": prefix,
Expand Down

0 comments on commit 8c64b5d

Please sign in to comment.