[IMP] account_financial_report: black, isort

This commit is contained in:
Ernesto Tejeda
2020-03-23 11:14:52 -04:00
committed by chaule97
parent 1227d53d4f
commit 40c874a112
57 changed files with 7565 additions and 6087 deletions

View File

@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record model="ir.ui.view" id="view_account_specific_form">
<field name="name">account.account.form.inherit</field>
<field name="inherit_id" ref="account.view_account_form"/>
<field name="inherit_id" ref="account.view_account_form" />
<field name="model">account.account</field>
<field name="type">form</field>
<field name="arch" type="xml">
<field name="deprecated" position="after">
<field name="centralized"/>
<field name="centralized" />
</field>
</field>
</record>

View File

@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<template id="report_aged_partner_balance">
<div class="o_account_financial_reports_page">
<t t-call="account_financial_report.report_buttons"/>
<t t-call="account_financial_report.report_aged_partner_balance_base"/>
<t t-call="account_financial_report.report_buttons" />
<t t-call="account_financial_report.report_aged_partner_balance_base" />
</div>
</template>
</odoo>

View File

@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<template id="report_general_ledger">
<div class="o_account_financial_reports_page">
<t t-call="account_financial_report.report_buttons"/>
<t t-call="account_financial_report.report_general_ledger_base"/>
<t t-call="account_financial_report.report_buttons" />
<t t-call="account_financial_report.report_general_ledger_base" />
</div>
</template>
</odoo>

View File

@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<template id="report_journal_ledger">
<div class="o_account_financial_reports_page">
<t t-call="account_financial_report.report_buttons"/>
<t t-call="account_financial_report.report_journal_ledger_base"/>
<t t-call="account_financial_report.report_buttons" />
<t t-call="account_financial_report.report_journal_ledger_base" />
</div>
</template>
</odoo>

View File

@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<template id="report_open_items">
<div class="o_account_financial_reports_page">
<t t-call="account_financial_report.report_buttons"/>
<t t-call="account_financial_report.report_open_items_base"/>
<t t-call="account_financial_report.report_buttons" />
<t t-call="account_financial_report.report_open_items_base" />
</div>
</template>
</odoo>

View File

@@ -1,58 +1,81 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<template id="account_financial_report_assets_backend"
name="account_financial_report assets" inherit_id="web.assets_backend">
<template
id="account_financial_report_assets_backend"
name="account_financial_report assets"
inherit_id="web.assets_backend"
>
<xpath expr="." position="inside">
<link href="/account_financial_report/static/src/css/report.css" rel="stylesheet"/>
<script type="text/javascript"
src="/account_financial_report/static/src/js/account_financial_report_backend.js"/>
<script type="text/javascript"
src="/account_financial_report/static/src/js/account_financial_report_widgets.js"/>
<link
href="/account_financial_report/static/src/css/report.css"
rel="stylesheet"
/>
<script
type="text/javascript"
src="/account_financial_report/static/src/js/account_financial_report_backend.js"
/>
<script
type="text/javascript"
src="/account_financial_report/static/src/js/account_financial_report_widgets.js"
/>
</xpath>
</template>
<template id="report_buttons">
<div class="button_row">
<button class="o_account_financial_reports_print btn btn-sm oe_button"><span class="fa fa-print"/> Print</button>
<button class="o_account_financial_reports_export btn btn-sm oe_button"><span class="fa fa-download"/> Export</button>
<button class="o_account_financial_reports_print btn btn-sm oe_button"><span
class="fa fa-print"
/> Print</button>
<button
class="o_account_financial_reports_export btn btn-sm oe_button"
><span class="fa fa-download" /> Export</button>
</div>
</template>
<record id="action_report_general_ledger" model="ir.actions.client">
<field name="name">General Ledger</field>
<field name="tag">account_financial_report_backend</field>
<field name="context" eval="{'model': 'report.account_financial_report.general_ledger'}" />
<field
name="context"
eval="{'model': 'report.account_financial_report.general_ledger'}"
/>
</record>
<record id="action_report_journal_ledger" model="ir.actions.client">
<field name="name">Journal</field>
<field name="tag">account_financial_report_backend</field>
<field name="context" eval="{'model': 'report.account_financial_report.journal_ledger'}" />
<field
name="context"
eval="{'model': 'report.account_financial_report.journal_ledger'}"
/>
</record>
<record id="action_report_open_items" model="ir.actions.client">
<field name="name">Open Items</field>
<field name="tag">account_financial_report_backend</field>
<field name="context" eval="{'model': 'report.account_financial_report.open_items'}" />
<record id="action_report_open_items" model="ir.actions.client">
<field name="name">Open Items</field>
<field name="tag">account_financial_report_backend</field>
<field
name="context"
eval="{'model': 'report.account_financial_report.open_items'}"
/>
</record>
<record id="action_report_trial_balance" model="ir.actions.client">
<record id="action_report_trial_balance" model="ir.actions.client">
<field name="name">Trial Balance</field>
<field name="tag">account_financial_report_backend</field>
<field name="context" eval="{'model': 'report.account_financial_report.trial_balance'}" />
<field
name="context"
eval="{'model': 'report.account_financial_report.trial_balance'}"
/>
</record>
<record id="action_report_aged_partner_balance" model="ir.actions.client">
<record id="action_report_aged_partner_balance" model="ir.actions.client">
<field name="name">Aged Partner Balance</field>
<field name="tag">account_financial_report_backend</field>
<field name="context" eval="{'model': 'report.account_financial_report.aged_partner_balance'}" />
<field
name="context"
eval="{'model': 'report.account_financial_report.aged_partner_balance'}"
/>
</record>
<record id="action_report_vat_report" model="ir.actions.client">
<field name="name">VAT Report</field>
<field name="tag">account_financial_report_backend</field>
<field name="context" eval="{'model': 'report.account_financial_report.vat_report'}" />
<field
name="context"
eval="{'model': 'report.account_financial_report.vat_report'}"
/>
</record>
</odoo>

View File

@@ -1,11 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<template id="report_trial_balance">
<div class="o_account_financial_reports_page">
<t t-call="account_financial_report.report_buttons"/>
<t t-call="account_financial_report.report_trial_balance_base"/>
<t t-call="account_financial_report.report_buttons" />
<t t-call="account_financial_report.report_trial_balance_base" />
</div>
</template>
</odoo>

View File

@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<template id="report_vat_report">
<div class="o_account_financial_reports_page">
<t t-call="account_financial_report.report_buttons"/>
<t t-call="account_financial_report.report_vat_report_base"/>
<t t-call="account_financial_report.report_buttons" />
<t t-call="account_financial_report.report_vat_report_base" />
</div>
</template>
</odoo>