[IMP] orm: simplify method definition

bzr revid: rco@openerp.com-20120907151016-fj7l6nt6uffxmdgh
This commit is contained in:
Raphael Collet 2012-09-07 17:10:16 +02:00
parent 5feea1cfa8
commit cbcfe23802
1 changed files with 1 additions and 2 deletions

View File

@ -5062,8 +5062,7 @@ class BaseModel(object):
return result
# for backward compatibility
def resolve_o2m_commands_to_record_dicts(self, cr, uid, field_name, o2m_commands, fields=None, context=None):
return self.resolve_2many_commands(cr, uid, field_name, o2m_commands, fields, context)
resolve_o2m_commands_to_record_dicts = resolve_2many_commands
# keep this import here, at top it will cause dependency cycle errors
import expression