[MERGE] Forward-port 7.0 up to 9411a2da
[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 -------------------------------------------------------------
36   * **Projects**
37       * Project 1
38           + SubProj 1.1
39           
40           + SubProj 1.2
41
42       * Project 2
43       
44   * **Salesman**
45       * Eric
46       
47       * Fabien
48
49 Here, we have two plans: Projects and Salesman. An invoice line must be able to write analytic entries in the 2 plans: SubProj 1.1 and Fabien. The amount can also be split.
50  
51 The following example is for an invoice that touches the two subprojects and assigned to one salesman:
52 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
53 **Plan1:**
54
55     * SubProject 1.1 : 50%
56     
57     * SubProject 1.2 : 50%
58     
59 **Plan2:**
60     Eric: 100%
61
62 So when this line of invoice will be confirmed, it will generate 3 analytic lines,for one account entry.
63
64 The analytic plan validates the minimum and maximum percentage at the time of creation of distribution models.
65         """,
66     'author': 'OpenERP SA',
67     'website': 'http://www.openerp.com',
68     'images': ['images/analytic_plan.jpeg'],
69     'depends': ['account', 'account_analytic_default'],
70     'data': [
71         'security/account_analytic_plan_security.xml',
72         'security/ir.model.access.csv',
73         'account_analytic_plans_view.xml',
74         'account_analytic_plans_report.xml',
75         'wizard/analytic_plan_create_model_view.xml',
76         'wizard/account_crossovered_analytic_view.xml',
77     ],
78     'demo': [],
79     'test': ['test/acount_analytic_plans_report.yml'],
80     'installable': True,
81     'auto_install': False,
82 }
83
84 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: