[FIX] remove openerplib.openerplib
[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': 'Add support for Belgian structured communication to Invoices',
25     'version': '1.2',
26     'license': 'AGPL-3',
27     'author': 'Noviat',
28     'category' : 'Localization/Accounting',
29     'description': """
30     
31 Belgian localisation for in- and outgoing invoices (prereq to account_coda):
32     - Rename 'reference' field labels to 'Communication'
33     - Add support for Belgian Structured Communication
34
35 A Structured Communication can be generated automatically on outgoing invoices according to the following algorithms:
36     1) Random : +++RRR/RRRR/RRRDD+++
37         R..R = Random Digits, DD = Check Digits
38     2) Date : +++DOY/YEAR/SSSDD+++
39         DOY = Day of the Year, SSS = Sequence Number, DD = Check Digits)
40     3) Customer Reference +++RRR/RRRR/SSSDDD+++
41         R..R = Customer Reference without non-numeric characters, SSS = Sequence Number, DD = Check Digits)  
42         
43 The preferred type of Structured Communication and associated Algorithm can be specified on the Partner records. 
44 A 'random' Structured Communication will generated if no algorithm is specified on the Partner record. 
45
46     """,
47     'depends': ['account'],
48     'demo_xml': [],
49     'init_xml': [],
50     'update_xml' : [
51         'partner_view.xml',
52         'account_invoice_view.xml',        
53     ],
54     'active': False,
55     'installable': True,}