~vauxoo/addons-vauxoo/6.0-trunk

« back to all changes in this revision

Viewing changes to price_structure/__openerp__.py

  • Committer: Openerp User
  • Author(s): Vauxoo
  • Date: 2012-07-26 20:13:13 UTC
  • Revision ID: openerp@ingelub-erp-20120726201313-cgffyvd3zmqhn2w4

[FIX] bug a la hora de confirmar una orden de venta cuando el producto es de tipo servicio 
tomaba dicho porducto como si este fuera almacenable y tuviera stock cosa que no es asi 

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: Vauxoo C.A.           
9
 
#    Planified by: Nhomar Hernandez
10
 
#    Audited by: Vauxoo C.A.
11
 
#############################################################################
12
 
#    This program is free software: you can redistribute it and/or modify
13
 
#    it under the terms of the GNU Affero General Public License as published by
14
 
#    the Free Software Foundation, either version 3 of the License, or
15
 
#    (at your option) any later version.
16
 
#
17
 
#    This program is distributed in the hope that it will be useful,
18
 
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
19
 
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20
 
#    GNU Affero General Public License for more details.
21
 
#
22
 
#    You should have received a copy of the GNU Affero General Public License
23
 
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
24
 
################################################################################
25
 
{
26
 
    "name" : "Price Structure",
27
 
    "version" : "0.1",
28
 
    "depends" : ['product','sale','cost_structure'],
29
 
    "author" : "Vauxoo",
30
 
    "description" : """
31
 
   This module adds a new functionality to manage price lists for products adding a new tab on the product 
32
 
   view where you can see the price lists where this product is affected either by product or by category.
33
 
 
34
 
   It also adds a new feature to the time of a sale, allowing you to choose a price list through which Live 
35
 
   will calculate to give a product price depending on the price list q be selected, regardless of whether 
36
 
   the list price selected at the beginning of the order.
37
 
 
38
 
   This also adds a blockade preventing sold when selling a product at a price higher or lower than estimated 
39
 
   by their price lists
40
 
    
41
 
    """,
42
 
    "website" : "http://vauxoo.com",
43
 
    "category" : "Generic Modules",
44
 
    "init_xml" : [],
45
 
    "demo_xml" : [],
46
 
    "test": [ ],
47
 
    "update_xml" : [
48
 
    'view/product_view.xml',
49
 
    'view/sale_view.xml',
50
 
    'view/product_pricelist_view.xml',
51
 
    'workflow/sale_workflow.xml',
52
 
    'wizard/create_list_price_view.xml',
53
 
    
54
 
    
55
 
    
56
 
    
57
 
    ],
58
 
    "active": False,
59
 
    "installable": True,
60
 
}