[MERGE] [FIX] models: do not drop low level columns (aka 'magic columns') when deleti...
[odoo/odoo.git] / addons / account_report_company / __openerp__.py
1 # -*- coding: utf-8 -*-
2 ##############################################################################
3 #
4 #    OpenERP, Open Source Business Applications
5 #    Copyright (c) 2013 OpenERP S.A. <http://openerp.com>
6 #
7 #    This program is free software: you can redistribute it and/or modify
8 #    it under the terms of the GNU Affero General Public License as
9 #    published by the Free Software Foundation, either version 3 of the
10 #    License, or (at your option) any later version.
11 #
12 #    This program is distributed in the hope that it will be useful,
13 #    but WITHOUT ANY WARRANTY; without even the implied warranty of
14 #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 #    GNU Affero General Public License for more details.
16 #
17 #    You should have received a copy of the GNU Affero General Public License
18 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
19 #
20 ##############################################################################
21 {
22     'name': 'Invoice Analysis per Company',
23     'version': '1.0',
24     'category': 'Accounting & Finance',
25     'description': """
26 Add an extra Company dimension on Invoices for consolidated Invoice Analysis
27 ============================================================================
28
29 By default Customer and Supplier invoices can be linked to a contact within
30 a company, but the company is not a direct reference in the database structure for
31 invoices. Journal Entries are however always linked to the company and not to
32 contacts, so that Accounts Payable and Receivable are always correct and consolidated
33 at company level.
34
35 When many different contacts/departments need to be invoiced within the same parent company,
36 this can make reporting by Company more difficult: reports are directly based on the
37 database structure and would not provide an aggregated company dimension.
38
39 This modules solves the problem by adding an explicit company reference on invoices,
40 automatically computed from the invoice contact, and use this new dimension
41 when grouping the list of Invoices or the Invoice Analysis report by Partner. 
42
43 Note: this module will likely be removed for the next major OpenERP version and
44 directly integrated in the core accounting. 
45 """,
46     'author': 'OpenERP SA',
47     'website': 'http://www.openerp.com',
48     'depends': ['account'],
49     'data': [
50         'account_invoice_view.xml',
51         'res_partner_view.xml',
52         'report/account_invoice_report_view.xml',
53     ],
54     'auto_install': True,
55 }
56
57 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: