We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue: The printed payment follow-up report is printing the date only in US date format while used in different language e.g german
File: /om_account_followup/report/followup_print.py
Function: def _lines_get_with_partner
original code: line_data = { 'name': line.move_id.name, 'ref': line.ref, 'date': line.date, 'date_maturity': line.date_maturity, 'balance': balance, 'blocked': line.blocked, 'currency_id': currency, }
line_data = { 'name': line.move_id.name, 'ref': line.ref, 'date': line.date, 'date_maturity': line.date_maturity, 'balance': balance, 'blocked': line.blocked, 'currency_id': currency, }
possible change: line_data = { 'name': line.move_id.name, 'ref': line.ref, 'date': format_date(self.env, line.date), 'date_maturity': format_date(self.env, line.date_maturity), 'balance': balance, 'blocked': line.blocked, 'currency_id': currency, } other changes: from odoo.tools import format_date
line_data = { 'name': line.move_id.name, 'ref': line.ref, 'date': format_date(self.env, line.date), 'date_maturity': format_date(self.env, line.date_maturity), 'balance': balance, 'blocked': line.blocked, 'currency_id': currency, }
from odoo.tools import format_date
The text was updated successfully, but these errors were encountered:
Updated: 4480c58
Thanks for the code and looking forward for more such contributions <3
Sorry, something went wrong.
No branches or pull requests
Issue: The printed payment follow-up report is printing the date only in US date format while used in different language e.g german
File: /om_account_followup/report/followup_print.py
Function: def _lines_get_with_partner
original code:
line_data = { 'name': line.move_id.name, 'ref': line.ref, 'date': line.date, 'date_maturity': line.date_maturity, 'balance': balance, 'blocked': line.blocked, 'currency_id': currency, }
possible change:
line_data = { 'name': line.move_id.name, 'ref': line.ref, 'date': format_date(self.env, line.date), 'date_maturity': format_date(self.env, line.date_maturity), 'balance': balance, 'blocked': line.blocked, 'currency_id': currency, }
other changes:
from odoo.tools import format_date
The text was updated successfully, but these errors were encountered: