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

« back to all changes in this revision

Viewing changes to mrp_prodlot_autosplit/product.py

  • Committer: Albert Cervera i Areny
  • Date: 2011-06-14 09:51:35 UTC
  • mfrom: (5345.1.165 openobject-addons)
  • Revision ID: albert@nan-tic.com-20110614095135-1x3p6tmil5lxkl9b
Merge and add nan_remove_default_filters

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# -*- encoding: utf-8 -*-
2
2
##############################################################################
3
 
#    
4
 
#    OpenERP, Open Source Management Solution
5
 
#    Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
 
3
#
 
4
#    MRP prodlot auto-split module for OpenERP
 
5
#    Copyright (C) 2008 Raphaël Valyi
6
6
#
7
7
#    This program is free software: you can redistribute it and/or modify
8
8
#    it under the terms of the GNU Affero General Public License as
15
15
#    GNU Affero General Public License for more details.
16
16
#
17
17
#    You should have received a copy of the GNU Affero General Public License
18
 
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.     
 
18
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
19
19
#
20
20
##############################################################################
21
21
 
22
22
from osv import fields, osv
23
 
import tools
24
 
import ir
25
 
import pooler
26
 
 
27
23
 
28
24
class product_product(osv.osv):
29
25
    _inherit = "product.product"
30
 
    
 
26
 
31
27
    _columns = {
32
 
        'unique_production_number': fields.boolean('Unique Production Number'),
 
28
        'unique_production_number': fields.boolean('Unique Production Number', help="Activate if you want to have the auto-split of move lines on pickings for this particular product."),
33
29
    }
34
 
    
35
 
product_product()
 
 
b'\\ No newline at end of file'
 
30
 
 
31
product_product()
 
32