Skip to content

Commit

Permalink
fixup! [ADD] custom sequence mechanism
Browse files Browse the repository at this point in the history
  • Loading branch information
hbrunn committed Apr 13, 2023
1 parent 74835d9 commit 8e74bff
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions datev_export_dtvf/models/datev_export_dtvf.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,9 +336,7 @@ def _get_partner_number(self, partner, number_type, generate=False):
)()
return partner[field_name]
elif self.company_id.datev_partner_numbering == "ee":
account_length = (
self.env["account.general.ledger"]._get_account_length() + 1
)
account_length = self.env["account.general.ledger"]._get_account_length()
return partner[
"l10n_de_datev_identifier%s"
% ("_customer" if number_type == "customer" else "")
Expand Down

0 comments on commit 8e74bff

Please sign in to comment.