Tags


Here is an example:

Server Action

Make Testing

True

ir.actions.server

code

self.test_act(cr, uid, context.get(‘active_ids’, []), context=context)

Menu:

or

Python code to run : Method name = test_act

class res_partner(osv.osv):

_inherit = ‘res.partner’

def test_act(self,cr,uid,ids,context={}):

return True

Advertisements