Skip to content

Commit

Permalink
[MIG] l10n_it_ricevute_bancarie: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyMasciI committed Sep 7, 2023
1 parent e784a1c commit c1abb9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions l10n_it_riba/wizard/wizard_riba_file_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,9 +305,9 @@ def act_getfile(self):
credit_abi = credit_iban[5:10]
credit_cab = credit_iban[10:15]
credit_account = credit_iban[-12:]
if not credit_bank.sia_code:
if not credit_bank.codice_sia:
raise UserError(_("No SIA Code specified for ") + company_name)

Check warning on line 309 in l10n_it_riba/wizard/wizard_riba_file_export.py

View check run for this annotation

Codecov / codecov/patch

l10n_it_riba/wizard/wizard_riba_file_export.py#L309

Added line #L309 was not covered by tests
credit_sia = credit_bank.sia_code
credit_sia = credit_bank.codice_sia
issued_date = datetime.datetime.now().strftime("%d%m%y")
support_name = datetime.datetime.now().strftime("%d%m%y%H%M%S") + credit_sia
creditor_address = order_obj.config_id.company_id.partner_id
Expand Down

0 comments on commit c1abb9b

Please sign in to comment.