[IMP] Improved code in account_analytic_analysis py file to remove warning on server log.
bzr revid: jra@tinyerp.com-20120831102457-fmnon768mj73vyl0
This commit is contained in:
commit
186681dad5
|
@ -465,7 +465,7 @@ class account_analytic_account(osv.osv):
|
|||
def open_sale_order_lines(self,cr,uid,ids,context=None):
|
||||
if context is None:
|
||||
context = {}
|
||||
sale_ids = self.pool.get('sale.order').search(cr,uid,[('project_id','=',context.get('search_default_project_id',False)),('partner_id','=',context.get('search_default_partner_id',False))])
|
||||
sale_ids = self.pool.get('sale.order').search(cr,uid,[('project_id','=',context.get('search_default_project_id',False)),('partner_id','in',context.get('search_default_partner_id',False))])
|
||||
names = [record.name for record in self.browse(cr, uid, ids, context=context)]
|
||||
name = _('Sale Order Lines of %s') % ','.join(names)
|
||||
return {
|
||||
|
|
Loading…
Reference in New Issue