From 18232a7261d2475c8e39e8f63c5513bc0b6202d0 Mon Sep 17 00:00:00 2001 From: Damien Crier Date: Tue, 26 Apr 2016 18:36:02 +0200 Subject: [PATCH] [ADD] add base wizard for ledger --- account_financial_report_qweb/__openerp__.py | 1 + .../wizard/__init__.py | 1 + .../wizard/ledger_report_wizard.py | 15 ++++++++ .../wizard/ledger_report_wizard_view.xml | 37 +++++++++++++++++++ 4 files changed, 54 insertions(+) create mode 100644 account_financial_report_qweb/wizard/ledger_report_wizard.py create mode 100644 account_financial_report_qweb/wizard/ledger_report_wizard_view.xml diff --git a/account_financial_report_qweb/__openerp__.py b/account_financial_report_qweb/__openerp__.py index 99f4e795..74186bfa 100644 --- a/account_financial_report_qweb/__openerp__.py +++ b/account_financial_report_qweb/__openerp__.py @@ -16,6 +16,7 @@ 'account', ], 'data': [ + 'wizard/ledger_report_wizard_view.xml', ], 'test': [ ], diff --git a/account_financial_report_qweb/wizard/__init__.py b/account_financial_report_qweb/wizard/__init__.py index 28867113..87b64336 100644 --- a/account_financial_report_qweb/wizard/__init__.py +++ b/account_financial_report_qweb/wizard/__init__.py @@ -2,3 +2,4 @@ # Author: Damien Crier # Copyright 2016 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from . import ledger_report_wizard diff --git a/account_financial_report_qweb/wizard/ledger_report_wizard.py b/account_financial_report_qweb/wizard/ledger_report_wizard.py new file mode 100644 index 00000000..706086af --- /dev/null +++ b/account_financial_report_qweb/wizard/ledger_report_wizard.py @@ -0,0 +1,15 @@ +# -*- coding: utf-8 -*- +# Author: Damien Crier +# Copyright 2016 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +import time + +from openerp import models, fields, api + + +class LedgerReportWizard(models.TransientModel): + + _name = "ledger.report.wizard" + _description = "Ledger Report" + + company_id = fields.Many2one(comodel_name='res.company') diff --git a/account_financial_report_qweb/wizard/ledger_report_wizard_view.xml b/account_financial_report_qweb/wizard/ledger_report_wizard_view.xml new file mode 100644 index 00000000..c073e29d --- /dev/null +++ b/account_financial_report_qweb/wizard/ledger_report_wizard_view.xml @@ -0,0 +1,37 @@ + + + + + + Ledger + ledger.report.wizard + +
+ + + +
+
+
+ + + Ledger + ir.actions.act_window + ledger.report.wizard + form + form + + new + + + + + + +
+