[FIX] account_financial_report_qweb: date condition in open items report.
This commit includes move lines on the report date by default. These lines shouldn't be considered in the futur.
This commit is contained in:
committed by
chaule97
parent
554ad61027
commit
7d182bec41
1443
account_financial_report/i18n/de.po
Normal file
1443
account_financial_report/i18n/de.po
Normal file
File diff suppressed because it is too large
Load Diff
1434
account_financial_report/i18n/es.po
Normal file
1434
account_financial_report/i18n/es.po
Normal file
File diff suppressed because it is too large
Load Diff
1434
account_financial_report/i18n/fr.po
Normal file
1434
account_financial_report/i18n/fr.po
Normal file
File diff suppressed because it is too large
Load Diff
1434
account_financial_report/i18n/hr_HR.po
Normal file
1434
account_financial_report/i18n/hr_HR.po
Normal file
File diff suppressed because it is too large
Load Diff
1434
account_financial_report/i18n/nl.po
Normal file
1434
account_financial_report/i18n/nl.po
Normal file
File diff suppressed because it is too large
Load Diff
1434
account_financial_report/i18n/nl_NL.po
Normal file
1434
account_financial_report/i18n/nl_NL.po
Normal file
File diff suppressed because it is too large
Load Diff
1434
account_financial_report/i18n/pt.po
Normal file
1434
account_financial_report/i18n/pt.po
Normal file
File diff suppressed because it is too large
Load Diff
@@ -404,11 +404,11 @@ FROM
|
||||
LEFT JOIN
|
||||
account_move_line ml_future
|
||||
ON ml.balance < 0 AND pr.debit_move_id = ml_future.id
|
||||
AND ml_future.date >= %s
|
||||
AND ml_future.date > %s
|
||||
LEFT JOIN
|
||||
account_move_line ml_past
|
||||
ON ml.balance < 0 AND pr.debit_move_id = ml_past.id
|
||||
AND ml_past.date < %s
|
||||
AND ml_past.date <= %s
|
||||
"""
|
||||
else:
|
||||
sub_query += """
|
||||
@@ -418,11 +418,11 @@ FROM
|
||||
LEFT JOIN
|
||||
account_move_line ml_future
|
||||
ON ml.balance > 0 AND pr.credit_move_id = ml_future.id
|
||||
AND ml_future.date >= %s
|
||||
AND ml_future.date > %s
|
||||
LEFT JOIN
|
||||
account_move_line ml_past
|
||||
ON ml.balance > 0 AND pr.credit_move_id = ml_past.id
|
||||
AND ml_past.date < %s
|
||||
AND ml_past.date <= %s
|
||||
"""
|
||||
sub_query += """
|
||||
WHERE
|
||||
|
||||
Reference in New Issue
Block a user