Skip to content
New issue

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

14.0][FIX] l10n_it_central_journal_reportlab, esclude linee con account name o code non valorizzato. #3250

Merged
merged 1 commit into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions l10n_it_central_journal_reportlab/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
* Lara Baggio <lbaggio@linkgroup.it>
* Glauco Prina <gprina@linkgroup.it>
* Giuseppe Borruso <gborruso@dinamicheaziendali.it>
* `Ooops <https://www.ooops404.com>`_:

* Giovanni Serra <giovanni@gslab.it>
4 changes: 3 additions & 1 deletion l10n_it_central_journal_reportlab/wizard/print_giornale.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ def get_grupped_line_reportlab_ids(self):
LEFT JOIN account_move am ON (am.id = aml.move_id)
LEFT JOIN account_account aa ON (aa.id = aml.account_id)
WHERE
aml.date >= %(date_from)s
aa.code IS NOT NULL
AND aa.name IS NOT NULL
AND aml.date >= %(date_from)s
AND aml.date <= %(date_to)s
AND am.state in %(target_type)s
AND aml.journal_id in %(journal_ids)s
Expand Down
Loading