Hello. I want to print a report when I do something at the TPV, but I don't get it. I'm trying to use ActionManager like this:
this.action_manager = new ActionManager(this, session.user_context);
this.action_manager.doAction(result, {
additional_context: {
active_id: obj.id,
active_ids: [obj.id],
active_model: 'obj.obj'
}})
I've also tried using $.ajax{url:'/my_url', data: {}, success: function(result){}}
And with rpc.query({})
but It returns that error ->>>>> Uncaught TypeError: parent._trigger_up is not a function
What should I do? Thanks