~unifield-team/unifield-wm/us-826

« back to all changes in this revision

Viewing changes to consumption_calculation/consumption_calculation.py

  • Committer: jf
  • Date: 2011-10-10 07:35:20 UTC
  • mto: (358.1.7 unifield-wm-sprint2)
  • mto: This revision was merged to the branch mainline in revision 360.
  • Revision ID: jf@tempo4-20111010073520-wn0r3idxanarvzjn
Locations Data: MSF Customer / MSF Supplier

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
    
62
62
    _defaults = {
63
63
        'creation_date': lambda *a: time.strftime('%Y-%m-%d'),
64
 
        'activity_id': lambda obj, cr, uid, context: obj.pool.get('ir.model.data').get_object_reference(cr, uid, 'consumption_calculation', 'msf_customer_location')[1],
 
64
        'activity_id': lambda obj, cr, uid, context: obj.pool.get('ir.model.data').get_object_reference(cr, uid, 'stock', 'stock_location_internal_cust')[1],
65
65
        'period_to': lambda *a: time.strftime('%Y-%m-%d'),
66
66
        'valid_ok': lambda *a: True,
67
67
    }