Monday 15 July 2013

python - self.pool.get('my.object').browse(cr, uid, id, context=ctx) -


When I select partition from the partition area, then I have to load all the child workers related to that partition. How to use self.pool.get ('my.object') browsing (CR, UID, ID, context = CTX)

  > Or with SQL & amp;  cr.excecute   

Refer this picture for ease

Here is my code and refer to the job. See the section

Haha had this dilemma a few weeks ago, its code is not showing, but I like using the ORM as much as possible.

, instead of the cr.execute "direct" query function. Cheers.

No comments:

Post a Comment