[FIX] fields.related: fix example in docstring
bzr revid: qdp-launchpad@openerp.com-20111013093423-lynuxoan01327jv9
This commit is contained in:
@@ -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'),
|
||||
}
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user