forked from OCA/delivery-carrier
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path__manifest__.py
69 lines (64 loc) · 2.66 KB
/
__manifest__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# -*- coding: utf-8 -*-
##############################################################################
#
# Author: Guewen Baconnier
# Copyright 2012 Camptocamp SA
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
{
'name': 'Base Delivery Carrier Files',
'version': '9.1.2.3',
'category': 'Generic Modules/Warehouse',
'description': """
Base module for creation of carrier files (La Poste, TNT Express Shipper, ...).
Files are exported as text (csv, ...).
It contains :
- the base structure to handle the export of files on Delivery Orders
- an API to ease the generation of the files for the developers in sub-modules.
The delivery orders can be grouped in one files
or be exported each one in a separate file.
The files can be generated automatically
on the shipment of a Delivery Order or from a manual action.
They are exported to a defined path or
in a document directory of your choice if the "document" module is installed.
A generic carrier file is included in the module.
It can also be used as a basis to create your own sub-module.
Sub-modules already exist to generate file according to specs of :
- La Poste (France) : delivery_carrier_file_laposte
- TNT Express Shipper (France) : delivery_carrier_file_tnt
- Make your own ! Look at the code of the modules above,
it's trivial to create a sub-module for a carrier.
""",
'author': "Camptocamp,Odoo Community Association (OCA)",
'license': 'AGPL-3',
'website': 'http://www.camptocamp.com',
'depends': ['base',
'stock',
'delivery'],
'data': ['carrier_file_view.xml',
'stock_view.xml',
'wizard/generate_carrier_files_view.xml',
#'security/ir.model.access.csv'
],
'demo': [#'carrier_file_demo.xml',
#'carrier_file_demo.yml'
],
'test': ['test/carrier_file.yml',
'test/carrier_file_manual.yml'],
'images': [],
'installable': True,
'auto_install': False,
}