Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
Returns a browsable record for the given identifier.

:param xid: fully-qualified record identifier, in the form ``module.identifier``
:raise: ValueError if not found

src/o/p/openerp-core-7.0.406/openerp/tests/test_basecase.py   openerp-core(Download)
        self.assertTrue(p_ref, "ref() should resolve xid to database ID")
        partner = res_partner.browse(cr, uid, p_ref)
        p_browse_ref = self.browse_ref(xid)
        self.assertEqual(partner, p_browse_ref, "browse_ref() should resolve xid to browse records")