~openerp-commiter/openobject-addons/extra-6.0

« back to all changes in this revision

Viewing changes to base_external_referentials/__terp__.py

  • Committer: Raphaël Valyi
  • Author(s): Sharoon Thomas
  • Date: 2009-10-04 21:30:57 UTC
  • Revision ID: sharoonthomas@sharoonthomas-laptop-20091004213057-ja894g4w5oparm5s
[ADD]base_external_referentials:Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- encoding: utf-8 -*-
 
2
##############################################################################
 
3
#
 
4
#    OpenERP, Open Source Management Solution    
 
5
#    Copyright (C) 2009 Akretion (<http://www.akretion.com>). All Rights Reserved
 
6
#    authors: Raphaël Valyi, Sharoon Thomas
 
7
#
 
8
#    This program is free software: you can redistribute it and/or modify
 
9
#    it under the terms of the GNU General Public License as published by
 
10
#    the Free Software Foundation, either version 3 of the License, or
 
11
#    (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 General Public License for more details.
 
17
#
 
18
#    You should have received a copy of the GNU General Public License
 
19
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
20
#
 
21
##############################################################################
 
22
 
 
23
 
 
24
{
 
25
    'name': 'Base External Referentials',
 
26
    'version': '1.0',
 
27
    'category': 'Generic Modules/Base',
 
28
    'description': """
 
29
This module provide an abstract common minimal base to add any additional external id columns
 
30
to some OpenObject table, pointing to some external referential.
 
31
A referential is abstract and minimal at this stage, it's only identified
 
32
by:
 
33
* a name
 
34
* a location (possibly webservice URL, database connection URL...); the connection method will tell it...
 
35
* referential credentials (user name + password)
 
36
 
 
37
OpenERP altready has limited supported to external ids using the ir_model_data and the id
 
38
fields in the loaded data such as XML or CSV.
 
39
The issue is that teh current system, while very useful to deal with internal OpenERP data has some
 
40
limitations:
 
41
* it doesn't scale well to whole production data because everything ends up into the ir_model_data
 
42
* all the system is built with a using reference id in mind. But in fact you might want SEVERAL external ids.
 
43
Say you sale your products over several websites (using the new Magento multi-instance connector for
 
44
instance), then you want that each product have SEVERAL external id columns. This is exactly what
 
45
this module enables!
 
46
    """,
 
47
    'author': 'Raphaël Valyi (Akretion.com), Sharoon Thomas (Openlabs.co.in)',
 
48
    'website': 'http://www.akretion.com',
 
49
    'depends': ['base'],
 
50
    'init_xml': [],
 
51
    'update_xml': ['base_external_referentials_view.xml'],
 
52
    'demo_xml': [],
 
53
    'installable': True,
 
54
    'certificate': '',
 
55
}
 
56
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: