Jordi Ballester
7 years ago
50 changed files with 611 additions and 546 deletions
-
10account_financial_report/README.rst
-
8account_financial_report/__init__.py
-
9account_financial_report/__manifest__.py
-
0account_financial_report/i18n/account_financial_report_qweb.pot
-
0account_financial_report/i18n/es.po
-
0account_financial_report/i18n/fr.po
-
0account_financial_report/i18n/hr_HR.po
-
0account_financial_report/i18n/nl_NL.po
-
0account_financial_report/i18n/pt.po
-
0account_financial_report/menuitems.xml
-
2account_financial_report/models/__init__.py
-
2account_financial_report/models/account.py
-
2account_financial_report/report/__init__.py
-
25account_financial_report/report/abstract_report_xlsx.py
-
107account_financial_report/report/aged_partner_balance.py
-
24account_financial_report/report/aged_partner_balance_xlsx.py
-
102account_financial_report/report/general_ledger.py
-
22account_financial_report/report/general_ledger_xlsx.py
-
107account_financial_report/report/open_items.py
-
22account_financial_report/report/open_items_xlsx.py
-
32account_financial_report/report/templates/aged_partner_balance.xml
-
23account_financial_report/report/templates/general_ledger.xml
-
14account_financial_report/report/templates/layouts.xml
-
20account_financial_report/report/templates/open_items.xml
-
26account_financial_report/report/templates/trial_balance.xml
-
56account_financial_report/report/trial_balance.py
-
23account_financial_report/report/trial_balance_xlsx.py
-
151account_financial_report/reports.xml
-
0account_financial_report/static/description/icon.png
-
0account_financial_report/static/src/css/report.css
-
2account_financial_report/tests/__init__.py
-
82account_financial_report/tests/abstract_test.py
-
10account_financial_report/tests/test_aged_partner_balance.py
-
16account_financial_report/tests/test_general_ledger.py
-
10account_financial_report/tests/test_open_items.py
-
10account_financial_report/tests/test_trial_balance.py
-
0account_financial_report/view/account_view.xml
-
2account_financial_report/wizard/__init__.py
-
20account_financial_report/wizard/aged_partner_balance_wizard.py
-
5account_financial_report/wizard/aged_partner_balance_wizard_view.xml
-
20account_financial_report/wizard/general_ledger_wizard.py
-
5account_financial_report/wizard/general_ledger_wizard_view.xml
-
20account_financial_report/wizard/open_items_wizard.py
-
5account_financial_report/wizard/open_items_wizard_view.xml
-
20account_financial_report/wizard/trial_balance_wizard.py
-
5account_financial_report/wizard/trial_balance_wizard_view.xml
-
19account_financial_report_qweb/__init__.py
-
114account_financial_report_qweb/reports.xml
-
3oca_dependencies.txt
-
2requirements.txt
@ -0,0 +1,8 @@ |
|||
|
|||
# Author: Damien Crier |
|||
# Copyright 2016 Camptocamp SA |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
|||
|
|||
from . import models |
|||
from . import report |
|||
from . import wizard |
@ -1,4 +1,4 @@ |
|||
# -*- coding: utf-8 -*- |
|||
|
|||
# Author: Damien Crier |
|||
# Copyright 2016 Camptocamp SA |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
@ -1,4 +1,4 @@ |
|||
# -*- coding: utf-8 -*- |
|||
|
|||
# © 2011 Guewen Baconnier (Camptocamp) |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).- |
|||
from odoo import models, fields |
@ -1,4 +1,4 @@ |
|||
# -*- coding: utf-8 -*- |
|||
|
|||
# © 2015 Yannick Vaucher (Camptocamp) |
|||
# © 2016 Damien Crier (Camptocamp) |
|||
# © 2016 Julien Coux (Camptocamp) |
@ -0,0 +1,151 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
|
|||
<!-- PDF/HMTL REPORTS --> |
|||
|
|||
<!-- General Ledger --> |
|||
<report |
|||
id="action_report_general_ledger_qweb" |
|||
model="report_general_ledger" |
|||
string="General Ledger" |
|||
report_type="qweb-pdf" |
|||
name="account_financial_report.report_general_ledger_qweb" |
|||
file="account_financial_report.report_general_ledger" |
|||
/> |
|||
<report |
|||
id="action_report_general_ledger_html" |
|||
model="report_general_ledger" |
|||
string="General Ledger" |
|||
report_type="qweb-html" |
|||
name="account_financial_report.report_general_ledger_qweb" |
|||
file="account_financial_report.report_general_ledger" |
|||
/> |
|||
|
|||
<!-- Trial Balance --> |
|||
<report |
|||
id="action_report_trial_balance_qweb" |
|||
model="report_trial_balance" |
|||
string="Trial Balance" |
|||
report_type="qweb-pdf" |
|||
name="account_financial_report.report_trial_balance_qweb" |
|||
file="account_financial_report.report_trial_balance_qweb" |
|||
/> |
|||
<report |
|||
id="action_report_trial_balance_html" |
|||
model="report_trial_balance" |
|||
string="Trial Balance" |
|||
report_type="qweb-html" |
|||
name="account_financial_report.report_trial_balance_qweb" |
|||
file="account_financial_report.report_trial_balance_html" |
|||
/> |
|||
|
|||
<!-- Open Items --> |
|||
<report |
|||
id="action_report_open_items_qweb" |
|||
model="report_open_items" |
|||
string="Open Items" |
|||
report_type="qweb-pdf" |
|||
name="account_financial_report.report_open_items_qweb" |
|||
file="account_financial_report.report_open_items_qweb" |
|||
/> |
|||
<report |
|||
id="action_report_open_items_html" |
|||
model="report_open_items" |
|||
string="Open Items" |
|||
report_type="qweb-html" |
|||
name="account_financial_report.report_open_items_qweb" |
|||
file="account_financial_report.report_open_items_html" |
|||
/> |
|||
|
|||
<!-- Aged Partner Balance --> |
|||
<report |
|||
id="action_report_aged_partner_balance_qweb" |
|||
model="report_aged_partner_balance" |
|||
string="Aged Partner Balance" |
|||
report_type="qweb-pdf" |
|||
name="account_financial_report.report_aged_partner_balance_qweb" |
|||
file="account_financial_report.report_aged_partner_balance_qweb" |
|||
/> |
|||
<report |
|||
id="action_report_aged_partner_balance_html" |
|||
model="report_aged_partner_balance" |
|||
string="Aged Partner Balance" |
|||
report_type="qweb-html" |
|||
name="account_financial_report.report_aged_partner_balance_qweb" |
|||
file="account_financial_report.report_aged_partner_balance_html" |
|||
/> |
|||
|
|||
<!-- PDF REPORTS : paperformat --> |
|||
|
|||
<record id="report_qweb_paperformat" model="report.paperformat"> |
|||
<field name="name">Account financial report qweb paperformat</field> |
|||
<field name="default" eval="True"/> |
|||
<field name="format">custom</field> |
|||
<field name="page_height">297</field> |
|||
<field name="page_width">210</field> |
|||
<field name="orientation">Portrait</field> |
|||
<field name="margin_top">12</field> |
|||
<field name="margin_bottom">8</field> |
|||
<field name="margin_left">5</field> |
|||
<field name="margin_right">5</field> |
|||
<field name="header_line" eval="False"/> |
|||
<field name="header_spacing">10</field> |
|||
<field name="dpi">110</field> |
|||
</record> |
|||
|
|||
<record id="action_report_general_ledger_qweb" model="ir.actions.report"> |
|||
<field name="paperformat_id" ref="report_qweb_paperformat"/> |
|||
</record> |
|||
|
|||
<record id="action_report_trial_balance_qweb" model="ir.actions.report"> |
|||
<field name="paperformat_id" ref="report_qweb_paperformat"/> |
|||
</record> |
|||
|
|||
<record id="action_report_open_items_qweb" model="ir.actions.report"> |
|||
<field name="paperformat_id" ref="report_qweb_paperformat"/> |
|||
</record> |
|||
|
|||
<record id="action_report_aged_partner_balance_qweb" |
|||
model="ir.actions.report"> |
|||
<field name="paperformat_id" ref="report_qweb_paperformat"/> |
|||
</record> |
|||
|
|||
<!-- XLSX REPORTS --> |
|||
|
|||
<record id="action_report_general_ledger_xlsx" model="ir.actions.report"> |
|||
<field name="name">General Ledger XLSX</field> |
|||
<field name="model">report_general_ledger</field> |
|||
<field name="type">ir.actions.report</field> |
|||
<field name="report_name">a_f_r.report_general_ledger_xlsx</field> |
|||
<field name="report_type">xlsx</field> |
|||
<field name="report_file">report_general_ledger</field> |
|||
</record> |
|||
|
|||
<record id="action_report_trial_balance_xlsx" model="ir.actions.report"> |
|||
<field name="name">Trial Balance XLSX</field> |
|||
<field name="model">report_trial_balance</field> |
|||
<field name="type">ir.actions.report</field> |
|||
<field name="report_name">a_f_r.report_trial_balance_xlsx</field> |
|||
<field name="report_type">xlsx</field> |
|||
<field name="report_file">report_trial_balance</field> |
|||
</record> |
|||
|
|||
<record id="action_report_open_items_xlsx" model="ir.actions.report"> |
|||
<field name="name">Open Items XLSX</field> |
|||
<field name="model">report_open_items</field> |
|||
<field name="type">ir.actions.report</field> |
|||
<field name="report_name">a_f_r.report_open_items_xlsx</field> |
|||
<field name="report_type">xlsx</field> |
|||
<field name="report_file">report_open_items</field> |
|||
</record> |
|||
|
|||
<record id="action_report_aged_partner_balance_xlsx" model="ir.actions.report"> |
|||
<field name="name">Aged Partner Balance XLSX</field> |
|||
<field name="model">report_aged_partner_balance</field> |
|||
<field name="type">ir.actions.report</field> |
|||
<field name="report_name">a_f_r.report_aged_partner_balance_xlsx</field> |
|||
<field name="report_type">xlsx</field> |
|||
<field name="report_file">report_aged_partner_balance</field> |
|||
</record> |
|||
|
|||
</odoo> |
Before Width: 256 | Height: 256 | Size: 15 KiB After Width: 256 | Height: 256 | Size: 15 KiB |
@ -1,4 +1,4 @@ |
|||
# -*- coding: utf-8 -*- |
|||
|
|||
# © 2016 Julien Coux (Camptocamp) |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).- |
|||
|
@ -1,4 +1,4 @@ |
|||
# -*- coding: utf-8 -*- |
|||
|
|||
# Author: Damien Crier |
|||
# Author: Julien Coux |
|||
# Copyright 2016 Camptocamp SA |
@ -1,19 +0,0 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Author: Damien Crier |
|||
# Copyright 2016 Camptocamp SA |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
|||
|
|||
from . import models |
|||
from . import wizard |
|||
|
|||
# Don't break installations that don't have this module installed |
|||
have_report_xlsx = False |
|||
try: |
|||
from odoo.addons.report_xlsx.report.report_xlsx import ReportXlsx |
|||
have_report_xlsx = True |
|||
except ImportError: |
|||
import logging |
|||
logging.getLogger(__name__).warn('Module report_xlsx is not available') |
|||
|
|||
if have_report_xlsx: |
|||
from . import report |
@ -1,114 +0,0 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
|
|||
<!-- PDF REPORTS --> |
|||
|
|||
<report |
|||
id="action_report_general_ledger_qweb" |
|||
model="report_general_ledger_qweb" |
|||
string="General Ledger" |
|||
report_type="qweb-pdf" |
|||
name="account_financial_report_qweb.report_general_ledger_qweb" |
|||
file="account_financial_report_qweb.report_general_ledger_qweb" |
|||
/> |
|||
|
|||
<report |
|||
id="action_report_trial_balance_qweb" |
|||
model="report_trial_balance_qweb" |
|||
string="Trial Balance" |
|||
report_type="qweb-pdf" |
|||
name="account_financial_report_qweb.report_trial_balance_qweb" |
|||
file="account_financial_report_qweb.report_trial_balance_qweb" |
|||
/> |
|||
|
|||
<report |
|||
id="action_report_open_items_qweb" |
|||
model="report_open_items_qweb" |
|||
string="Open Items" |
|||
report_type="qweb-pdf" |
|||
name="account_financial_report_qweb.report_open_items_qweb" |
|||
file="account_financial_report_qweb.report_open_items_qweb" |
|||
/> |
|||
|
|||
<report |
|||
id="action_report_aged_partner_balance_qweb" |
|||
model="report_aged_partner_balance_qweb" |
|||
string="Aged Partner Balance" |
|||
report_type="qweb-pdf" |
|||
name="account_financial_report_qweb.report_aged_partner_balance_qweb" |
|||
file="account_financial_report_qweb.report_aged_partner_balance_qweb" |
|||
/> |
|||
|
|||
<!-- PDF REPORTS : paperformat --> |
|||
|
|||
<record id="report_qweb_paperformat" model="report.paperformat"> |
|||
<field name="name">Account financial report qweb paperformat</field> |
|||
<field name="default" eval="True"/> |
|||
<field name="format">custom</field> |
|||
<field name="page_height">297</field> |
|||
<field name="page_width">210</field> |
|||
<field name="orientation">Portrait</field> |
|||
<field name="margin_top">12</field> |
|||
<field name="margin_bottom">8</field> |
|||
<field name="margin_left">5</field> |
|||
<field name="margin_right">5</field> |
|||
<field name="header_line" eval="False"/> |
|||
<field name="header_spacing">10</field> |
|||
<field name="dpi">110</field> |
|||
</record> |
|||
|
|||
<record id="action_report_general_ledger_qweb" model="ir.actions.report.xml"> |
|||
<field name="paperformat_id" ref="report_qweb_paperformat"/> |
|||
</record> |
|||
|
|||
<record id="action_report_trial_balance_qweb" model="ir.actions.report.xml"> |
|||
<field name="paperformat_id" ref="report_qweb_paperformat"/> |
|||
</record> |
|||
|
|||
<record id="action_report_open_items_qweb" model="ir.actions.report.xml"> |
|||
<field name="paperformat_id" ref="report_qweb_paperformat"/> |
|||
</record> |
|||
|
|||
<record id="action_report_aged_partner_balance_qweb" model="ir.actions.report.xml"> |
|||
<field name="paperformat_id" ref="report_qweb_paperformat"/> |
|||
</record> |
|||
|
|||
<!-- XLSX REPORTS --> |
|||
|
|||
<record id="action_report_general_ledger_xlsx" model="ir.actions.report.xml"> |
|||
<field name="name">General Ledger XLSX</field> |
|||
<field name="model">report_general_ledger_qweb</field> |
|||
<field name="type">ir.actions.report.xml</field> |
|||
<field name="report_name">account_financial_report_qweb.report_general_ledger_xlsx</field> |
|||
<field name="report_type">xlsx</field> |
|||
<field name="auto" eval="False"/> |
|||
</record> |
|||
|
|||
<record id="action_report_trial_balance_xlsx" model="ir.actions.report.xml"> |
|||
<field name="name">Trial Balance XLSX</field> |
|||
<field name="model">report_trial_balance_qweb</field> |
|||
<field name="type">ir.actions.report.xml</field> |
|||
<field name="report_name">account_financial_report_qweb.report_trial_balance_xlsx</field> |
|||
<field name="report_type">xlsx</field> |
|||
<field name="auto" eval="False"/> |
|||
</record> |
|||
|
|||
<record id="action_report_open_items_xlsx" model="ir.actions.report.xml"> |
|||
<field name="name">Open Items XLSX</field> |
|||
<field name="model">report_open_items_qweb</field> |
|||
<field name="type">ir.actions.report.xml</field> |
|||
<field name="report_name">account_financial_report_qweb.report_open_items_xlsx</field> |
|||
<field name="report_type">xlsx</field> |
|||
<field name="auto" eval="False"/> |
|||
</record> |
|||
|
|||
<record id="action_report_aged_partner_balance_xlsx" model="ir.actions.report.xml"> |
|||
<field name="name">Aged Partner Balance XLSX</field> |
|||
<field name="model">report_aged_partner_balance_qweb</field> |
|||
<field name="type">ir.actions.report.xml</field> |
|||
<field name="report_name">account_financial_report_qweb.report_aged_partner_balance_xlsx</field> |
|||
<field name="report_type">xlsx</field> |
|||
<field name="auto" eval="False"/> |
|||
</record> |
|||
|
|||
</odoo> |
@ -1 +1,4 @@ |
|||
server-ux |
|||
account-financial-tools https://github.com/Eficent/account-financial-tools 11.0-mig-account_fiscal_year |
|||
reporting-engine https://github.com/OCA/reporting-engine |
|||
server-ux https://github.com/OCA/server-ux |
@ -0,0 +1,2 @@ |
|||
xlsxwriter |
|||
xlrd |
Write
Preview
Loading…
Cancel
Save
Reference in new issue