From 485645c788f48e8000700668180e12cc9d11a68a Mon Sep 17 00:00:00 2001 From: luc-demeyer Date: Wed, 30 Nov 2016 16:01:26 +0100 Subject: [PATCH] greenify account_move_line_report_xls --- .../report/move_line_list_xls.py | 26 +++---------------- 1 file changed, 4 insertions(+), 22 deletions(-) diff --git a/account_move_line_report_xls/report/move_line_list_xls.py b/account_move_line_report_xls/report/move_line_list_xls.py index 0bb4e496..bff55ea3 100644 --- a/account_move_line_report_xls/report/move_line_list_xls.py +++ b/account_move_line_report_xls/report/move_line_list_xls.py @@ -1,25 +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 . -# -############################################################################## - +# -*- 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 from openerp.osv import orm @@ -368,6 +349,7 @@ class move_line_xls(report_xls): row_pos = self.xls_write_row( ws, row_pos, row_data, row_style=self.rt_cell_style_right) + move_line_xls('report.move.line.list.xls', 'account.move.line', parser=move_line_xls_parser)