Skip to content

Commit

Permalink
fixed missing API change
Browse files Browse the repository at this point in the history
  • Loading branch information
rvalyi committed Jun 2, 2014
1 parent b431f04 commit 3f83e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ooor/field_methods.rb
Expand Up @@ -156,7 +156,7 @@ def get_association(meth, *args)
@associations[meth] = rpc_execute('read', [@attributes["id"]], [meth], *args || context)[0][meth]
@loaded_associations[meth] = relationnal_result(meth, *args)
elsif self.class.one2many_associations.has_key?(meth) || self.class.many2many_associations.has_key?(meth)
load_x2m_association(self.class.all_fields[meth]['relation'], [], *args)
load_x2m_association(meth, [], *args)
else
nil
end
Expand Down

0 comments on commit 3f83e3e

Please sign in to comment.