greenify account_journal_report_xls
parent
6848783406
commit
86369f3c7d
|
@ -1,24 +1,6 @@
|
|||
# -*- encoding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
#
|
||||
# Copyright (c) 2014 Noviat nv/sa (www.noviat.com). All rights reserved.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2009-2016 Noviat
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
import time
|
||||
from openerp.report import report_sxw
|
||||
|
@ -352,6 +334,7 @@ class nov_journal_print(report_sxw.rml_parse):
|
|||
value, digits,
|
||||
date, date_time, grouping, monetary, dp, currency_obj)
|
||||
|
||||
|
||||
report_sxw.report_sxw(
|
||||
'report.nov.account.journal.print', 'account.journal',
|
||||
'addons/account_journal_report_xls/report/nov_account_journal.rml',
|
||||
|
|
|
@ -1,24 +1,6 @@
|
|||
# -*- encoding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
#
|
||||
# Copyright (c) 2013 Noviat nv/sa (www.noviat.com). All rights reserved.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2009-2016 Noviat
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
import xlwt
|
||||
from datetime import datetime
|
||||
|
@ -404,5 +386,6 @@ class account_journal_xls(report_xls):
|
|||
row_pos = self._journal_lines(o, ws, _p, row_pos, _xs)
|
||||
row_pos = self._journal_vat_summary(o, ws, _p, row_pos, _xs)
|
||||
|
||||
|
||||
account_journal_xls('report.nov.account.journal.xls', 'account.journal.period',
|
||||
parser=account_journal_xls_parser)
|
||||
|
|
Loading…
Reference in New Issue