Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class your_model(osv.osv):
- ...
- def fields_view_get(self, cr, user, view_id=None, view_type='form', context=None, toolbar=False, submenu=False):
- print "Context is",context
- print "View id request",view_id
- print "View type request",view_type
- output = super(your_model, self).fields_view_get(cr, user, view_id, view_type, context, toolbar, submenu)
- # Maybe check value of output with print (will be very large though)
- # print "Output was",output
- return output
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement