#NEWLINE# def get_action_status( self , ar , ba , obj , **kw ) : #NEWLINE# #INDENT# kw . update ( ar . get_status ( ) ) #NEWLINE# if ba . action . parameters : #NEWLINE# #INDENT# apv = ar . action_param_values #NEWLINE# if ( apv is None ) : #NEWLINE# #INDENT# apv = ba . action . action_param_defaults ( ar , obj ) #NEWLINE# #UNINDENT# ps = ba . action . params_layout . params_store #NEWLINE# kw . update ( field_values = ps . pv2dict ( apv ) ) #NEWLINE# #UNINDENT# if isinstance ( obj , models . Model ) : #NEWLINE# #INDENT# kw . update ( record_id = obj . pk ) #NEWLINE# #UNINDENT# return kw