[IMP] partner_statement: pre-commit auto fixes

This commit is contained in:
Miquel Raïch
2025-07-22 13:25:23 +02:00
parent e01a0986de
commit 7899fff564
5 changed files with 44 additions and 43 deletions

View File

@@ -702,28 +702,28 @@ class DetailedActivityStatementXslx(models.AbstractModel):
FORMATS[ FORMATS[
"format_tcell_left_reconciled_outside-date-rank" "format_tcell_left_reconciled_outside-date-rank"
].set_font_color(fc_red) ].set_font_color(fc_red)
FORMATS[ FORMATS["format_tcell_date_left_reconciled_outside-date-rank"] = (
"format_tcell_date_left_reconciled_outside-date-rank" copy_format(workbook, FORMATS["format_tcell_date_left_reconciled"])
] = copy_format(workbook, FORMATS["format_tcell_date_left_reconciled"]) )
FORMATS[ FORMATS[
"format_tcell_date_left_reconciled_outside-date-rank" "format_tcell_date_left_reconciled_outside-date-rank"
].set_font_color(fc_red) ].set_font_color(fc_red)
FORMATS[ FORMATS["format_distributed_reconciled_outside-date-rank"] = (
"format_distributed_reconciled_outside-date-rank" copy_format(workbook, FORMATS["format_distributed_reconciled"])
] = copy_format(workbook, FORMATS["format_distributed_reconciled"]) )
FORMATS[ FORMATS[
"format_distributed_reconciled_outside-date-rank" "format_distributed_reconciled_outside-date-rank"
].set_font_color(fc_red) ].set_font_color(fc_red)
FORMATS[ FORMATS["current_money_format_reconciled_outside-date-rank"] = (
"current_money_format_reconciled_outside-date-rank" copy_format(workbook, FORMATS["current_money_format_reconciled"])
] = copy_format(workbook, FORMATS["current_money_format_reconciled"]) )
FORMATS[ FORMATS[
"current_money_format_reconciled_outside-date-rank" "current_money_format_reconciled_outside-date-rank"
].set_font_color(fc_red) ].set_font_color(fc_red)
FORMATS[ FORMATS["format_tcell_left_blocked_reconciled_outside-date-rank"] = (
"format_tcell_left_blocked_reconciled_outside-date-rank" copy_format(
] = copy_format( workbook, FORMATS["format_tcell_left_blocked_reconciled"]
workbook, FORMATS["format_tcell_left_blocked_reconciled"] )
) )
FORMATS[ FORMATS[
"format_tcell_left_blocked_reconciled_outside-date-rank" "format_tcell_left_blocked_reconciled_outside-date-rank"
@@ -736,18 +736,18 @@ class DetailedActivityStatementXslx(models.AbstractModel):
FORMATS[ FORMATS[
"format_tcell_date_left_blocked_reconciled_outside-date-rank" "format_tcell_date_left_blocked_reconciled_outside-date-rank"
].set_font_color(fc_red) ].set_font_color(fc_red)
FORMATS[ FORMATS["format_distributed_blocked_reconciled_outside-date-rank"] = (
"format_distributed_blocked_reconciled_outside-date-rank" copy_format(
] = copy_format( workbook, FORMATS["format_distributed_blocked_reconciled"]
workbook, FORMATS["format_distributed_blocked_reconciled"] )
) )
FORMATS[ FORMATS[
"format_distributed_blocked_reconciled_outside-date-rank" "format_distributed_blocked_reconciled_outside-date-rank"
].set_font_color(fc_red) ].set_font_color(fc_red)
FORMATS[ FORMATS["current_money_format_blocked_reconciled_outside-date-rank"] = (
"current_money_format_blocked_reconciled_outside-date-rank" copy_format(
] = copy_format( workbook, FORMATS["current_money_format_blocked_reconciled"]
workbook, FORMATS["current_money_format_blocked_reconciled"] )
) )
FORMATS[ FORMATS[
"current_money_format_blocked_reconciled_outside-date-rank" "current_money_format_blocked_reconciled_outside-date-rank"

View File

@@ -43,7 +43,8 @@
<span <span
t-if="line['reconciled_line']" t-if="line['reconciled_line']"
style="padding-left: 11px;" style="padding-left: 11px;"
/><span t-out="line['move_id']" /> />
<span t-out="line['move_id']" />
</td> </td>
<td> <td>
<span t-out="line['date']" /> <span t-out="line['date']" />
@@ -117,8 +118,8 @@
t-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": True}' t-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": True}'
/> />
<div t-if="o.vat" class="mt16"><t <div t-if="o.vat" class="mt16"><t
t-out="company.country_id.vat_label or 'Tax ID'" t-out="company.country_id.vat_label or 'Tax ID'"
/>: <span t-field="o.vat" /></div> />: <span t-field="o.vat" /></div>
</t> </t>
<div class="page"> <div class="page">
<h2>Statement of Account</h2> <h2>Statement of Account</h2>

View File

@@ -11,8 +11,8 @@
t-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": True}' t-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": True}'
/> />
<div t-if="o.vat" class="mt16"><t <div t-if="o.vat" class="mt16"><t
t-out="company.country_id.vat_label or 'Tax ID'" t-out="company.country_id.vat_label or 'Tax ID'"
/>: <span t-field="o.vat" /></div> />: <span t-field="o.vat" /></div>
</t> </t>
<div class="page"> <div class="page">
<h2>Statement of Account</h2> <h2>Statement of Account</h2>

View File

@@ -102,11 +102,11 @@
t-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": True}' t-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": True}'
/> />
<div t-if="o.vat" class="mt16"><t <div t-if="o.vat" class="mt16"><t
t-out="company.country_id.vat_label or 'Tax ID'" t-out="company.country_id.vat_label or 'Tax ID'"
/>: <span t-field="o.vat" /></div> />: <span t-field="o.vat" /></div>
</t> </t>
<div class="page"> <div class="page">
<div class="oe_structure" /> <div id="oe_structure" class="oe_structure" />
<h2>Statement of Account</h2> <h2>Statement of Account</h2>
<div id="informations" class="row mt32 mb32"> <div id="informations" class="row mt32 mb32">
<div class="col-3 bm-2"> <div class="col-3 bm-2">

View File

@@ -89,20 +89,20 @@
</group> </group>
<footer> <footer>
<button <button
name="button_export_html" name="button_export_html"
string="View" string="View"
type="object" type="object"
default_focus="1" default_focus="1"
class="oe_highlight" class="oe_highlight"
/> or <button /> or <button
name="button_export_pdf" name="button_export_pdf"
string="Export PDF" string="Export PDF"
type="object" type="object"
/> or <button /> or <button
name="button_export_xlsx" name="button_export_xlsx"
string="Export XLSX" string="Export XLSX"
type="object" type="object"
/> or <button string="Cancel" class="oe_link" special="cancel" /> /> or <button string="Cancel" class="oe_link" special="cancel" />
</footer> </footer>
</form> </form>
</field> </field>