mourad-ehm
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
account_journal_report_xls/report/nov_account_journal.py
|
@ -184,6 +184,8 @@ class NovJournalPrint(report_sxw.rml_parse): |
|
|
(tuple(period_ids), journal_id, |
|
|
(tuple(period_ids), journal_id, |
|
|
tuple(self.move_states))) |
|
|
tuple(self.move_states))) |
|
|
lines = self.cr.dictfetchall() |
|
|
lines = self.cr.dictfetchall() |
|
|
|
|
|
if not lines: |
|
|
|
|
|
return lines |
|
|
|
|
|
|
|
|
# add reference of corresponding origin document |
|
|
# add reference of corresponding origin document |
|
|
if journal.type in ('sale', 'sale_refund', 'purchase', |
|
|
if journal.type in ('sale', 'sale_refund', 'purchase', |
|
|