-
-
Notifications
You must be signed in to change notification settings - Fork 623
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] account_financial_report: Set grouped_by as required with non g…
…rouped item description. Fixes display of report when no agroupation is wanted
- Loading branch information
1 parent
8e6d9de
commit 3d00541
Showing
1 changed file
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -74,8 +74,9 @@ class GeneralLedgerReportWizard(models.TransientModel): | |||
help="Ending account in a range", | ||||
) | ||||
grouped_by = fields.Selection( | ||||
selection=[("", "None"), ("partners", "Partners"), ("taxes", "Taxes")], | ||||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
sergiobstoj
Author
Member
|
if grouped_by and not gen_led_data[acc_id][grouped_by]: |
This comment has been minimized.
This comment has been minimized.
Sorry, something went wrong.
Y que parte del código hace que aplique los filtros si el valor
grouped_by
no tenía ningún valor?