[FIX] lp 703088

bzr revid: fp@tinyerp.com-20110117073511-94kur7vzlhyfq9zt
This commit is contained in:
Fabien Pinckaers 2011-01-17 08:35:11 +01:00
parent 4e0bc0926d
commit 948e9172ce
2 changed files with 2 additions and 2 deletions

View File

@ -146,7 +146,7 @@ class res_users(osv.osv):
'user_id': user_id}, context=context)
except:
# Tolerate a missing shortcut. See product/product.py for similar code.
logging.getLogger('orm').warning('Skipped Products shortcut for user "%s"', data.get('name','<new'))
logging.getLogger('orm').debug('Skipped meetings shortcut for user "%s"', data.get('name','<new'))
return user_id

View File

@ -158,7 +158,7 @@ class purchase_line_invoice(osv.osv_memory):
'view_mode': 'tree,form',
'res_model': 'account.invoice',
'view_id': False,
'context': "{'type':'in_invoice'}",
'context': "{'type':'in_invoice', 'journal_type': 'purchase'}",
'type': 'ir.actions.act_window'
}
purchase_line_invoice()