parameters: (self, records, triggers)
return_statement: return actions.with_env(self.env)
docstring: Return the actions of the given triggers for records' model. The
              returned actions' context contain an object to manage processing.
docstring_summary: Return the actions of the given triggers for records' model. The
              returned actions' context contain an object to manage processing.
docstring_tokens: Return the actions of the given triggers for records model . The returned actions context contain an object to manage processing .
function: def _get_actions(self, records, triggers):
          """ Return the actions of the given triggers for records' model. The
              returned actions' context contain an object to manage processing.
          """
          if '__action_done' not in self._context:
              self = self.with_context(__action_done={})
          domain = [('model_name', '=', records._name), ('trigger', 'in', triggers)]
          actions = self.with_context(active_test=True).sudo().search(domain)
          return actions.with_env(self.env)
function_tokens: def _get_actions ( self , records , triggers ) : if '__action_done' not in self . _context : self = self . with_context ( __action_done = { } ) domain = [ ( 'model_name' , '=' , records . _name ) , ( 'trigger' , 'in' , triggers ) ] actions = self . with_context ( active_test = True ) . sudo ( ) . search ( domain ) return actions . with_env ( self . env )