|
@ -30,9 +30,6 @@ class ResPartner(orm.Model): |
|
|
|
|
|
|
|
|
def _get_relation_ids( |
|
|
def _get_relation_ids( |
|
|
self, cr, uid, ids, dummy_name, dummy_arg, context=None): |
|
|
self, cr, uid, ids, dummy_name, dummy_arg, context=None): |
|
|
if context is None: |
|
|
|
|
|
context = {} |
|
|
|
|
|
|
|
|
|
|
|
# TODO: do a permission test on returned ids |
|
|
# TODO: do a permission test on returned ids |
|
|
cr.execute( |
|
|
cr.execute( |
|
|
'''select id, left_partner_id, right_partner_id |
|
|
'''select id, left_partner_id, right_partner_id |
|
|