1
# -*- encoding: utf-8 -*-
2
############################################################################
3
# Module Writen to OpenERP, Open Source Management Solution #
4
# Copyright (C) OpenERP Venezuela (<http://openerp.com.ve>). #
5
# All Rights Reserved #
6
###############Credits######################################################
7
# Coded by: author NAME LASTNAME <email@openerp.com.ve> #
8
# Planified by: Nhomar Hernandez #
9
# Finance by: COMPANY NAME <EMAIL-COMPANY> #
10
# Audited by: Humberto Arocha humberto@openerp.com.ve #
11
############################################################################
12
# This program is free software: you can redistribute it and/or modify #
13
# it under the terms of the GNU General Public License as published by #
14
# the Free Software Foundation, either version 3 of the License, or #
15
# (at your option) any later version. #
17
# This program is distributed in the hope that it will be useful, #
18
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
19
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
20
# GNU General Public License for more details. #
22
# You should have received a copy of the GNU General Public License #
23
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
24
############################################################################
27
from osv import fields
28
from tools.translate import _
30
class invoice_multicompany_report(osv.osv):
32
invoice_multicompany_report
35
_inherit = 'res.company'
37
'invoice_report_id':fields.many2one('ir.actions.report.xml', 'Invoice Report', required=False, domain="[('model','=','account.invoice')]"),
39
invoice_multicompany_report()