[FIX] fields.related: fix example in docstring

bzr revid: qdp-launchpad@openerp.com-20111013093423-lynuxoan01327jv9
This commit is contained in:
Quentin (OpenERP)
2011-10-13 11:34:23 +02:00
parent d1dde9bb8e
commit 2be7586c54
+1 -1
View File
@@ -1037,7 +1037,7 @@ class related(function):
_columns = {
'foo_id': fields.many2one('my.foo', 'Foo'),
'bar': fields.related('frol', 'foo_id', type='char', string='Frol of Foo'),
'bar': fields.related('foo_id', 'frol', type='char', string='Frol of Foo'),
}
"""