greenify account_financial_report_webkit_xls
parent
9b0bf05fc5
commit
c84c04d7b4
|
@ -1,25 +1,4 @@
|
||||||
# -*- encoding: utf-8 -*-
|
# -*- coding: 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/>.
|
|
||||||
#
|
|
||||||
##############################################################################
|
|
||||||
|
|
||||||
from . import general_ledger_xls
|
from . import general_ledger_xls
|
||||||
from . import trial_balance_xls
|
from . import trial_balance_xls
|
||||||
from . import partners_balance_xls
|
from . import partners_balance_xls
|
||||||
|
|
|
@ -1,25 +1,6 @@
|
||||||
# -*- encoding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
##############################################################################
|
# Copyright 2009-2016 Noviat
|
||||||
#
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
# 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/>.
|
|
||||||
#
|
|
||||||
##############################################################################
|
|
||||||
|
|
||||||
import xlwt
|
import xlwt
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from openerp.addons.report_xls.report_xls import report_xls
|
from openerp.addons.report_xls.report_xls import report_xls
|
||||||
|
@ -345,6 +326,7 @@ class general_ledger_xls(report_xls):
|
||||||
ws, row_pos, row_data, c_hdr_cell_style)
|
ws, row_pos, row_data, c_hdr_cell_style)
|
||||||
row_pos += 1
|
row_pos += 1
|
||||||
|
|
||||||
|
|
||||||
general_ledger_xls('report.account.account_report_general_ledger_xls',
|
general_ledger_xls('report.account.account_report_general_ledger_xls',
|
||||||
'account.account',
|
'account.account',
|
||||||
parser=GeneralLedgerWebkit)
|
parser=GeneralLedgerWebkit)
|
||||||
|
|
|
@ -1,25 +1,6 @@
|
||||||
# -*- encoding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
##############################################################################
|
# Copyright 2009-2016 Noviat
|
||||||
#
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
# 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/>.
|
|
||||||
#
|
|
||||||
##############################################################################
|
|
||||||
|
|
||||||
import xlwt
|
import xlwt
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from openerp.addons.report_xls.report_xls import report_xls
|
from openerp.addons.report_xls.report_xls import report_xls
|
||||||
|
@ -824,5 +805,6 @@ class open_invoices_xls(report_xls):
|
||||||
row_pos, acc, _xs, xlwt, _p, data)
|
row_pos, acc, _xs, xlwt, _p, data)
|
||||||
row_pos += 1
|
row_pos += 1
|
||||||
|
|
||||||
|
|
||||||
open_invoices_xls('report.account.account_report_open_invoices_xls',
|
open_invoices_xls('report.account.account_report_open_invoices_xls',
|
||||||
'account.account', parser=PartnersOpenInvoicesWebkit)
|
'account.account', parser=PartnersOpenInvoicesWebkit)
|
||||||
|
|
|
@ -1,25 +1,6 @@
|
||||||
# -*- encoding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
##############################################################################
|
# Copyright 2009-2016 Noviat
|
||||||
#
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
# 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/>.
|
|
||||||
#
|
|
||||||
##############################################################################
|
|
||||||
|
|
||||||
import xlwt
|
import xlwt
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from openerp.addons.report_xls.report_xls import report_xls
|
from openerp.addons.report_xls.report_xls import report_xls
|
||||||
|
@ -456,6 +437,7 @@ class partner_ledger_xls(report_xls):
|
||||||
ws, row_pos, row_data, account_cell_style)
|
ws, row_pos, row_data, account_cell_style)
|
||||||
row_pos += 2
|
row_pos += 2
|
||||||
|
|
||||||
|
|
||||||
partner_ledger_xls('report.account.account_report_partner_ledger_xls',
|
partner_ledger_xls('report.account.account_report_partner_ledger_xls',
|
||||||
'account.account',
|
'account.account',
|
||||||
parser=PartnersLedgerWebkit)
|
parser=PartnersLedgerWebkit)
|
||||||
|
|
|
@ -1,25 +1,6 @@
|
||||||
# -*- encoding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
##############################################################################
|
# Copyright 2009-2016 Noviat
|
||||||
#
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
# 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/>.
|
|
||||||
#
|
|
||||||
##############################################################################
|
|
||||||
|
|
||||||
import xlwt
|
import xlwt
|
||||||
from openerp.addons.report_xls.report_xls import report_xls
|
from openerp.addons.report_xls.report_xls import report_xls
|
||||||
from openerp.addons.report_xls.utils import rowcol_to_cell
|
from openerp.addons.report_xls.utils import rowcol_to_cell
|
||||||
|
@ -427,6 +408,7 @@ class partners_balance_xls(report_xls):
|
||||||
row_pos = self.print_account_totals(
|
row_pos = self.print_account_totals(
|
||||||
_xs, xlwt, ws, row_account_start, row_pos, current_account, _p)
|
_xs, xlwt, ws, row_account_start, row_pos, current_account, _p)
|
||||||
|
|
||||||
|
|
||||||
partners_balance_xls('report.account.account_report_partner_balance_xls',
|
partners_balance_xls('report.account.account_report_partner_balance_xls',
|
||||||
'account.account',
|
'account.account',
|
||||||
parser=PartnerBalanceWebkit)
|
parser=PartnerBalanceWebkit)
|
||||||
|
|
|
@ -1,25 +1,6 @@
|
||||||
# -*- encoding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
##############################################################################
|
# Copyright 2009-2016 Noviat
|
||||||
#
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
# 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/>.
|
|
||||||
#
|
|
||||||
##############################################################################
|
|
||||||
|
|
||||||
import xlwt
|
import xlwt
|
||||||
from openerp.addons.report_xls.report_xls import report_xls
|
from openerp.addons.report_xls.report_xls import report_xls
|
||||||
from openerp.addons.report_xls.utils import rowcol_to_cell
|
from openerp.addons.report_xls.utils import rowcol_to_cell
|
||||||
|
@ -319,6 +300,7 @@ class trial_balance_xls(report_xls):
|
||||||
row_pos = self.xls_write_row(
|
row_pos = self.xls_write_row(
|
||||||
ws, row_pos, row_data, row_style=cell_style)
|
ws, row_pos, row_data, row_style=cell_style)
|
||||||
|
|
||||||
|
|
||||||
trial_balance_xls('report.account.account_report_trial_balance_xls',
|
trial_balance_xls('report.account.account_report_trial_balance_xls',
|
||||||
'account.account',
|
'account.account',
|
||||||
parser=TrialBalanceWebkit)
|
parser=TrialBalanceWebkit)
|
||||||
|
|
Loading…
Reference in New Issue