[IMP] account_financial_report: black, isort, prettier
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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=[],
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user