~vauxoo/addons-vauxoo/6.0-trunk

« back to all changes in this revision

Viewing changes to supplier_invoice_number_unique/__openerp__.py

  • Committer: Yanina Aular
  • Date: 2014-03-26 21:12:27 UTC
  • mfrom: (543.7.444 trunk)
  • mto: (543.7.455 trunk)
  • mto: This revision was merged to the branch mainline in revision 857.
  • Revision ID: yanina.aular@vauxoo.com-20140326211227-c7x4e62lgzqoy2l9

[MERGE] from addons-vauxoo-7.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/python
 
2
# -*- encoding: utf-8 -*-
 
3
###########################################################################
 
4
#    Module Writen to OpenERP, Open Source Management Solution
 
5
#    Copyright (C) Vauxoo (<http://vauxoo.com>).
 
6
#    All Rights Reserved
 
7
###############Credits######################################################
 
8
#    Coded by: Luis Ernesto García Medina(ernesto_gm@vauxoo.com)
 
9
#############################################################################
 
10
#    This program is free software: you can redistribute it and/or modify
 
11
#    it under the terms of the GNU Affero General Public License as published by
 
12
#    the Free Software Foundation, either version 3 of the License, or
 
13
#    (at your option) any later version.
 
14
#
 
15
#    This program is distributed in the hope that it will be useful,
 
16
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
17
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
18
#    GNU Affero General Public License for more details.
 
19
#
 
20
#    You should have received a copy of the GNU Affero General Public License
 
21
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
22
################################################################################
 
23
 
 
24
{
 
25
    "name" : "supplier_invoice_number_unique",
 
26
    "version" : "1.0",
 
27
    "author" : "Vauxoo",
 
28
    "category" : "Accouting",
 
29
    "description" : """
 
30
This module validates that the supplier_invoice_number field is not repeated 
 
31
============================================================================
 
32
The validation doesn't consider uppercase and lowercase, if you have one invoice with supplier 
 
33
invoice number:  "A123" and you try validate another invoice with the supplier 
 
34
invoice number: "a123", the validation is going to show the message: "Error you can not validate 
 
35
the invoice with supplier invoice number duplicated"
 
36
    """,
 
37
    "website" : "http://www.vauxoo.com/",
 
38
    "license" : "AGPL-3",
 
39
    "depends" : [
 
40
        "account",
 
41
    ],
 
42
    "demo" : [],
 
43
    "data" : [
 
44
    'view/account_invoice_view.xml',
 
45
    ],
 
46
    "installable" : True,
 
47
    "active" : False,
 
48
}