[IMP] account_financial_report: black, isort, prettier

This commit is contained in:
Alex Cuellar
2020-10-11 11:55:20 -05:00
committed by chaule97
parent ed7ef8a475
commit e250c0583d
20 changed files with 347 additions and 292 deletions

View File

@@ -44,9 +44,7 @@
class="oe_inline"
options="{'no_create': True}"
/>
<span class="oe_inline">
To
</span>
<span class="oe_inline">To</span>
<field
name="account_code_to"
class="oe_inline"

View File

@@ -48,7 +48,9 @@ class GeneralLedgerReportWizard(models.TransientModel):
"If partners are filtered, "
"debits and credits totals will not match the trial balance.",
)
show_analytic_tags = fields.Boolean(string="Show analytic tags",)
show_analytic_tags = fields.Boolean(
string="Show analytic tags",
)
receivable_accounts_only = fields.Boolean()
payable_accounts_only = fields.Boolean()
partner_ids = fields.Many2many(
@@ -86,8 +88,14 @@ class GeneralLedgerReportWizard(models.TransientModel):
string="Account Code To",
help="Ending account in a range",
)
show_partner_details = fields.Boolean(string="Show Partner Details", default=True,)
show_cost_center = fields.Boolean(string="Show Analytic Account", default=True,)
show_partner_details = fields.Boolean(
string="Show Partner Details",
default=True,
)
show_cost_center = fields.Boolean(
string="Show Analytic Account",
default=True,
)
domain = fields.Char(
string="Journal Items Domain",
default=[],

View File

@@ -47,9 +47,7 @@
class="oe_inline"
options="{'no_create': True}"
/>
<span class="oe_inline">
To
</span>
<span class="oe_inline">To</span>
<field
name="account_code_to"
class="oe_inline"
@@ -94,8 +92,9 @@
/>
</page>
<page string="Additional Filtering">
<style
>.o_domain_show_selection_button {display: none}</style>
<style>
.o_domain_show_selection_button {display: none}
</style>
<field
name="domain"
widget="domain"
@@ -113,8 +112,10 @@
invisible="1"
/>
<group />
<h4
>General Ledger can be computed only if selected company have only one unaffected earnings account.</h4>
<h4>
General Ledger can be computed only if selected company have
only one unaffected earnings account.
</h4>
<group />
</div>
<footer>

View File

@@ -55,7 +55,10 @@ class OpenItemsReportWizard(models.TransientModel):
"will display initial and final balance in that currency.",
default=lambda self: self._default_foreign_currency(),
)
show_partner_details = fields.Boolean(string="Show Partner Details", default=True,)
show_partner_details = fields.Boolean(
string="Show Partner Details",
default=True,
)
account_code_from = fields.Many2one(
comodel_name="account.account",
string="Account Code From",

View File

@@ -45,9 +45,7 @@
class="oe_inline"
options="{'no_create': True}"
/>
<span class="oe_inline">
To
</span>
<span class="oe_inline">To</span>
<field
name="account_code_to"
class="oe_inline"

View File

@@ -106,8 +106,10 @@
invisible="1"
/>
<group />
<h4
>Trial Balance can be computed only if selected company have only one unaffected earnings account.</h4>
<h4>
Trial Balance can be computed only if selected company have only
one unaffected earnings account.
</h4>
<group />
</div>
<footer>