[FIX] analytic_contract_hr_expense: fixed amounts in billing table + view inheritancy
[odoo/odoo.git] / addons / account_analytic_plans / __openerp__.py
1 # -*- coding: utf-8 -*-
2 ##############################################################################
3 #
4 #    OpenERP, Open Source Management Solution
5 #    Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
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
23 {
24     'name': 'Multiple Analytic Plans',
25     'version': '1.0',
26     'category': 'Accounting & Finance',
27     'description': """
28 This module allows to use several analytic plans, according to the general journal.
29 ===================================================================================
30
31 Here multiple analytic lines are created when the invoice or the entries
32 are confirmed.
33
34 For example, you can define the following analytic structure:
35   Projects
36       Project 1
37           SubProj 1.1
38           SubProj 1.2
39
40       Project 2
41   Salesman
42       Eric
43       Fabien
44
45 Here, we have two plans: Projects and Salesman. An invoice line must
46 be able to write analytic entries in the 2 plans: SubProj 1.1 and
47 Fabien. The amount can also be split. The following example is for
48 an invoice that touches the two subproject and assigned to one salesman:
49
50 Plan1:
51     SubProject 1.1 : 50%
52     SubProject 1.2 : 50%
53 Plan2:
54     Eric: 100%
55
56 So when this line of invoice will be confirmed, it will generate 3 analytic lines,
57 for one account entry.
58 The analytic plan validates the minimum and maximum percentage at the time of creation
59 of distribution models.
60         """,
61     'author': 'OpenERP SA',
62     'website': 'http://www.openerp.com',
63     'images': ['images/analytic_plan.jpeg'],
64     'depends': ['account', 'account_analytic_default'],
65     'init_xml': [],
66     'update_xml': [
67         'security/account_analytic_plan_security.xml',
68         'security/ir.model.access.csv',
69         'account_analytic_plans_view.xml',
70         'account_analytic_plans_report.xml',
71         'wizard/analytic_plan_create_model_view.xml',
72         'wizard/account_crossovered_analytic_view.xml',
73     ],
74     'demo_xml': [],
75     'test': ['test/acount_analytic_plans_report.yml'],
76     'installable': True,
77     'auto_install': False,
78     'certificate': '0036417675373',
79 }
80
81 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: