~stock-logistic-core-editors/stock-logistic-barcode/7.0

« back to all changes in this revision

Viewing changes to product_multi_ean/__terp__.py

  • Committer: Joel Grand-Guillaume
  • Date: 2012-11-16 13:26:09 UTC
  • Revision ID: joel.grandguillaume@camptocamp.com-20121116132609-n6ewqj4hishf9qky
[FIX] Remove file that failed to be removed by the extraction script from c2c-addons

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# -*- encoding: utf-8 -*-
2
 
##############################################################################
3
 
#
4
 
#    Author Guewen Baconnier. Copyright Camptocamp SA
5
 
#
6
 
#    This program is free software: you can redistribute it and/or modify
7
 
#    it under the terms of the GNU General Public License as published by
8
 
#    the Free Software Foundation, either version 3 of the License, or
9
 
#    (at your option) any later version.
10
 
#
11
 
#    This program is distributed in the hope that it will be useful,
12
 
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 
#    GNU General Public License for more details.
15
 
#
16
 
#    You should have received a copy of the GNU General Public License
17
 
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
18
 
#
19
 
##############################################################################
20
 
 
21
 
{
22
 
    'name' : 'Multiple EAN13 on products',
23
 
    'version' : '1.0',
24
 
    'depends' : ['base', 'product'],
25
 
    'author' : 'Camptocamp',
26
 
    'description': """Multiple EAN13 for one product.
27
 
Product EAN13 field is replaced by a function which returns the first EAN13 found.
28
 
 
29
 
Need to manually comment out the constraint :
30
 
_constraints = [(_check_ean_key, 'Error: Invalid ean code', ['ean13'])]
31
 
in product/product.py because, sadly, it is impossible to inherit it.
32
 
 
33
 
WARNING !!! THIS WILL DROP ALL YOUR CURRENT EAN13 AS OPENERP DROP THE COLUMN.
34
 
PLEASE BE SURE TO EXPORT THEM BEFORE INSTALLATION OF THE MODULE AND RESTORE THEM WITH AN IMPORT.
35
 
 
36
 
""",
37
 
    'website': 'http://www.camptocamp.com',
38
 
    'init_xml': [],
39
 
    'update_xml': ['product_view.xml',
40
 
                   'security/ir.model.access.csv'],
41
 
    'demo_xml': [],
42
 
    'installable': True,
43
 
    'active': False,
44
 
}