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

« back to all changes in this revision

Viewing changes to threshold_value/scheduler.py

  • Committer: jf
  • Date: 2014-03-14 09:48:25 UTC
  • mfrom: (1728.29.9 unifield-wm)
  • mto: This revision was merged to the branch mainline in revision 2032.
  • Revision ID: jfb@tempo-consulting.fr-20140314094825-himvju927nro52no
UTP-124 [IMP] Replenishmenty Rules Order Cycle and Theshold Computed Values Contain Data on Main Parameters
lp:~unifield-team/unifield-wm/utp-124

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
                    proc_id = proc_obj.create(cr, uid, {
64
64
                                        'name': _('Threshold value: %s') % (threshold.name,),
65
65
                                        'origin': threshold.name,
66
 
                                        'date_planned': time.strftime('%Y-%m-%d %H:%M:%S'),
 
66
                                        'date_planned': line.required_date or time.strftime('%Y-%m-%d %H:%M:%S'),
67
67
                                        'product_id': line.product_id.id,
68
68
                                        'product_qty': line.product_qty,
69
69
                                        'product_uom': line.product_id.uom_id.id,