Skip to content

Commit

Permalink
[FIX] account_payment_term_extension: Add selection options translatable
Browse files Browse the repository at this point in the history
  • Loading branch information
ramiadavid committed Jun 5, 2024
1 parent 0a18295 commit 3a4b85d
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,20 +52,20 @@ def _get_delay_type(self):
payment_terms_delay_type = delay_setting or False

delay_type = [
("days_after", "Days after invoice date"),
("days_after_end_of_month", "Days after end of month"),
("days_after_end_of_next_month", "Days after end of next month"),
("days_end_of_month_on_the", "Days end of month on the"),
("days_after", _("Days after invoice date")),
("days_after_end_of_month", _("Days after end of month")),
("days_after_end_of_next_month", _("Days after end of next month")),
("days_end_of_month_on_the", _("Days end of month on the")),
]

weeks_delay_type = [
("weeks_after", "Weeks after invoice date"),
("weeks_after_end_of_month", "Weeks after end of month"),
("weeks_after_end_of_next_month", "Weeks after end of next month"),
("weeks_after", _("Weeks after invoice date")),
("weeks_after_end_of_month", _("Weeks after end of month")),
("weeks_after_end_of_next_month", _("Weeks after end of next month")),
]
months_delay_type = [
("months_after", "Months after invoice date"),
("months_after_end_of_month", "Months after end of month"),
("months_after", _("Months after invoice date")),
("months_after_end_of_month", _("Months after end of month")),
]

if payment_terms_delay_type:
Expand Down

0 comments on commit 3a4b85d

Please sign in to comment.