~agilebg/openerp-product-attributes/adding_product_pack_7

« back to all changes in this revision

Viewing changes to product_pack/pack.py

  • Committer: Alex Comba
  • Date: 2014-02-18 11:51:03 UTC
  • Revision ID: alex.comba@agilebg.com-20140218115103-7a0lgdq9kswsv339
[REM] lambda not needed anymore

Show diffs side-by-side

added added

removed removed

Lines of Context:
150
150
            'sale.order.line', 'pack_parent_line_id', 'Lines in pack'),
151
151
    }
152
152
    _defaults = {
153
 
        'pack_depth': lambda *a: 0,
 
153
        'pack_depth': 0,
154
154
    }
155
155
 
156
156
 
340
340
        ),
341
341
    }
342
342
    _defaults = {
343
 
        'pack_depth': lambda *a: 0,
 
343
        'pack_depth': 0,
344
344
    }
345
345
 
346
346