parameters: (self)
return_statement: return self.action_show_details()
docstring: Unlink `self.move_line_ids` before returning `self.action_show_details`.
          Useful for if a user creates too many SNs by accident via action_assign_serial_show_details
          since there's no way to undo the action.
docstring_summary: Unlink `self.move_line_ids` before returning `self.action_show_details`.
          Useful for if a user creates too many SNs by accident via action_assign_serial_show_details
          since there's no way to undo the action.
docstring_tokens: Unlink self . move_line_ids before returning self . action_show_details . Useful for if a user creates too many SNs by accident via action_assign_serial_show_details since there s no way to undo the action .
function: def action_clear_lines_show_details(self):
          """ Unlink `self.move_line_ids` before returning `self.action_show_details`.
          Useful for if a user creates too many SNs by accident via action_assign_serial_show_details
          since there's no way to undo the action.
          """
          self.ensure_one()
          if self.picking_type_id.show_reserved:
              move_lines = self.move_line_ids
          else:
              move_lines = self.move_line_nosuggest_ids
          move_lines.unlink()
          return self.action_show_details()
function_tokens: def action_clear_lines_show_details ( self ) : self . ensure_one ( ) if self . picking_type_id . show_reserved : move_lines = self . move_line_ids else : move_lines = self . move_line_nosuggest_ids move_lines . unlink ( ) return self . action_show_details ( )