Skip to content

Commit

Permalink
[12.0][FIX]l10n_it_sdi_channel: restore python 3.5 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
aleuffre committed Dec 16, 2022
1 parent 85334e6 commit 1621858
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions l10n_it_sdi_channel/models/sdi.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,7 @@ def send(self, attachment_out_ids):
return send_method(attachment_out_ids)

@api.model
def _prepare_attachment_in_values(
self,
file_name,
file_content,
**default_values,
):
def _prepare_attachment_in_values(self, file_name, file_content, **default_values):
"""
Get values to create an Electronic Bill (`fatturapa.attachment.in`).
Expand Down Expand Up @@ -98,12 +93,7 @@ def _prepare_attachment_in_values(
return attachment_values

@api.model
def _process_single_fe(
self,
file_name,
file_content,
**default_values,
):
def _process_single_fe(self, file_name, file_content, **default_values):
"""
Extract values from SdI file to create Electronic Bill(s).
Expand Down Expand Up @@ -139,12 +129,7 @@ def _process_single_fe(
return attachments_values

@api.model
def receive_fe(
self,
file_name_content_dict,
metadata_file_name_content_dict,
**default_values,
):
def receive_fe(self, file_name_content_dict, metadata_file_name_content_dict, **default_values):
"""
Save Electronic Bills received from SdI.
Expand Down

0 comments on commit 1621858

Please sign in to comment.