[MERGE] Sync with trunk
[odoo/odoo.git] / addons / l10n_be_invoice_bba / __openerp__.py
1 # -*- encoding: utf-8 -*-
2 ##############################################################################
3 #
4 #    OpenERP, Open Source Management Solution
5 #    
6 #    Copyright (c) 2011 Noviat nv/sa (www.noviat.be). All rights reserved.
7
8 #    This program is free software: you can redistribute it and/or modify
9 #    it under the terms of the GNU Affero General Public License as
10 #    published by the Free Software Foundation, either version 3 of the
11 #    License, or (at your option) any later version.
12 #
13 #    This program is distributed in the hope that it will be useful,
14 #    but WITHOUT ANY WARRANTY; without even the implied warranty of
15 #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 #    GNU Affero General Public License for more details.
17 #
18 #    You should have received a copy of the GNU Affero General Public License
19 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 #
21 ##############################################################################
22
23 {
24     'name': 'Belgium - Structured Communication',
25     'version': '1.2',
26     'license': 'AGPL-3',
27     'author': 'Noviat',
28     'category' : 'Localization',
29     'description': """
30     
31 Belgian localization for in- and outgoing invoices (prereq to account_coda):
32 ============================================================================
33     - Rename 'reference' field labels to 'Communication'
34     - Add support for Belgian Structured Communication
35
36 A Structured Communication can be generated automatically on outgoing invoices according to the following algorithms:
37 ---------------------------------------------------------------------------------------------------------------------
38     1) Random : +++RRR/RRRR/RRRDD+++
39         **R..R =** Random Digits, **DD =** Check Digits
40     2) Date : +++DOY/YEAR/SSSDD+++
41         **DOY =** Day of the Year, **SSS =** Sequence Number, **DD =** Check Digits
42     3) Customer Reference +++RRR/RRRR/SSSDDD+++
43         **R..R =** Customer Reference without non-numeric characters, **SSS =** Sequence Number, **DD =** Check Digits  
44         
45 The preferred type of Structured Communication and associated Algorithm can be
46 specified on the Partner records. A 'random' Structured Communication will
47 generated if no algorithm is specified on the Partner record. 
48
49     """,
50     'depends': ['account'],
51     'demo': [],
52     'data' : [
53         'partner_view.xml',
54         'account_invoice_view.xml',        
55     ],
56     'auto_install': False,
57     'installable': True,}
58
59 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: