Browse Source

greenify account_move_line_report_xls

pull/253/head
luc-demeyer 8 years ago
parent
commit
485645c788
  1. 26
      account_move_line_report_xls/report/move_line_list_xls.py

26
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 <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 import xlwt
from datetime import datetime from datetime import datetime
from openerp.osv import orm from openerp.osv import orm
@ -368,6 +349,7 @@ class move_line_xls(report_xls):
row_pos = self.xls_write_row( row_pos = self.xls_write_row(
ws, row_pos, row_data, row_style=self.rt_cell_style_right) ws, row_pos, row_data, row_style=self.rt_cell_style_right)
move_line_xls('report.move.line.list.xls', move_line_xls('report.move.line.list.xls',
'account.move.line', 'account.move.line',
parser=move_line_xls_parser) parser=move_line_xls_parser)
Loading…
Cancel
Save