[FIX] Wrong var name due to copy and paste.

bzr revid: tde@openerp.com-20120419075354-ympww3kc0xw35vpb
This commit is contained in:
Thibault Delavallée 2012-04-19 09:53:54 +02:00
parent be1ed68742
commit 4b9dfed786
1 changed files with 1 additions and 1 deletions

View File

@ -675,7 +675,7 @@ class purchase_order(osv.osv):
# convert datetime field to a datetime, using server format, then
# convert it to the user TZ and re-render it with %Z to add the timezone
picking_datetime = fields.DT.datetime.strptime(picking.min_date, DEFAULT_SERVER_DATETIME_FORMAT)
picking_date_str = fields.datetime.context_timestamp(cr, uid, meeting_datetime, context=context).strftime(DATETIME_FORMATS_MAP['%+'] + " (%Z)")
picking_date_str = fields.datetime.context_timestamp(cr, uid, picking_datetime, context=context).strftime(DATETIME_FORMATS_MAP['%+'] + " (%Z)")
self.message_append_note(cr, uid, [order.id], body=_("Shipment <em>%s</em> <b>scheduled</b> for %s.") % (picking.name, picking_date_str), context=context)
def invoice_send_note(self, cr, uid, ids, invoice_id, context=None):