Skip to content

Commit

Permalink
fix-2
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelregidor committed Apr 5, 2024
1 parent 886ef26 commit ee2946d
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions account_invoice_report_grouped_by_picking/models/account_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,7 @@ class AccountMove(models.Model):

@api.model
def _sort_grouped_lines(self, lines_dic):
logging.warning("_sort_grouped_lines")
min_date = datetime.datetime.min
logging.warning(lines_dic)
for line in lines_dic:
logging.warning("------")
logging.warning(line["picking"].date)
logging.warning(min_date)
logging.warning(line["picking"].date_done)
logging.warning(line["picking"].date)
logging.warning(line.get("is_last_section_notes", False))
logging.warning("------")
dictionary = sorted(
lines_dic,
key=lambda x: (
Expand All @@ -37,7 +27,6 @@ def _sort_grouped_lines(self, lines_dic):
)
),
)
logging.warning(dictionary)
return dictionary

def _get_signed_quantity_done(self, invoice_line, move, sign):
Expand Down

0 comments on commit ee2946d

Please sign in to comment.