1 # -*- encoding: utf-8 -*-
2 ##############################################################################
4 # OpenERP, Open Source Management Solution
6 # Copyright (c) 2011 Noviat nv/sa (www.noviat.be). All rights reserved.
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.
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.
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/>.
21 ##############################################################################
24 'name': 'Add support for Belgian structured communication to Invoices',
28 'category' : 'Localization/Accounting',
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
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)
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.
47 'depends': ['account'],
52 'account_invoice_view.xml',