Advertisement
Guest User

Untitled

a guest
Sep 26th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. class your_model(osv.osv):
  2. ...
  3.  
  4. def fields_view_get(self, cr, user, view_id=None, view_type='form', context=None, toolbar=False, submenu=False):
  5. print "Context is",context
  6. print "View id request",view_id
  7. print "View type request",view_type
  8. output = super(your_model, self).fields_view_get(cr, user, view_id, view_type, context, toolbar, submenu)
  9. # Maybe check value of output with print (will be very large though)
  10. # print "Output was",output
  11. return output
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement