[REV] Revert some lines.

bzr revid: bth@tinyerp.com-20130218051821-f9490nvrqfdgivvr
This commit is contained in:
Bhumi Thakkar (Open ERP) 2013-02-18 10:48:21 +05:30
parent 7b37981a7e
commit 13b819939a
1 changed files with 0 additions and 2 deletions

View File

@ -248,9 +248,7 @@ class purchase_order(osv.osv):
def create(self, cr, uid, vals, context=None):
if vals.get('name','/')=='/':
vals['name'] = self.pool.get('ir.sequence').get(cr, uid, 'purchase.order') or '/'
context = dict(context, mail_create_nolog=True)
order = super(purchase_order, self).create(cr, uid, vals, context=context)
self.message_post(cr, uid, [order], body=_("RFQ <b>Created</b>"), context=context)
return order
def unlink(self, cr, uid, ids, context=None):